Go to the source code of this file.
|
#define | DECLARE_CONSTR_0(SIG, LSIG, RET_TYPE) |
|
#define | DECLARE_CONSTR_1(SIG, LSIG, RET_TYPE, ARG_TYPE) |
|
#define | DECLARE_CONSTR_2(SIG, LSIG, RET_TYPE, ARG1_TYPE, ARG2_TYPE) |
|
#define | DECLARE_CONSTR_3(SIG, LSIG, RET_TYPE, ARG1_TYPE, ARG2_TYPE, ARG3_TYPE) |
|
#define | DECLARE_CONSTR_4(SIG, LSIG, RET_TYPE, ARG1_TYPE, ARG2_TYPE, ARG3_TYPE, ARG4_TYPE) |
|
#define | DECLARE_DECLARE_1(RET, ARG) |
|
#define | DECLARE_DECLARE_2(RET, ARG1, ARG2) |
|
#define | DECLARE_DECLARE_3(RET, ARG1, ARG2, ARG3) |
|
#define | DECLARE_DECLARE_4(RET, ARG1, ARG2, ARG3, ARG4) |
|
|
| opencog::DECLARE_DECLARE_3 (const std::string &, const std::string &, const std::string &, const std::string &) DECLARE_DECLARE_3(void |
|
#define DECLARE_CONSTR_0 |
( |
|
SIG, |
|
|
|
LSIG, |
|
|
|
RET_TYPE |
|
) |
| |
Value:SchemePrimitive(const char* module, const char* name, \
RET_TYPE (T::*cb)(
void), T *
data) \
{ \
method.LSIG = cb; \
scheme_module = module; \
scheme_name = name; \
signature = SIG; \
do_register(module, name, 0); \
}
Definition at line 542 of file SchemePrimitive.h.
#define DECLARE_CONSTR_1 |
( |
|
SIG, |
|
|
|
LSIG, |
|
|
|
RET_TYPE, |
|
|
|
ARG_TYPE |
|
) |
| |
Value:SchemePrimitive(const char* module, const char* name, \
RET_TYPE (T::*cb)(ARG_TYPE), T *
data) \
{ \
method.LSIG = cb; \
scheme_module = module; \
scheme_name = name; \
signature = SIG; \
do_register(module, name, 1); \
}
Definition at line 554 of file SchemePrimitive.h.
#define DECLARE_CONSTR_2 |
( |
|
SIG, |
|
|
|
LSIG, |
|
|
|
RET_TYPE, |
|
|
|
ARG1_TYPE, |
|
|
|
ARG2_TYPE |
|
) |
| |
Value:SchemePrimitive(const char* module, const char* name, \
RET_TYPE (T::*cb)(ARG1_TYPE, ARG2_TYPE), T *
data) \
{ \
method.LSIG = cb; \
scheme_module = module; \
scheme_name = name; \
signature = SIG; \
do_register(module, name, 2); \
}
Definition at line 566 of file SchemePrimitive.h.
#define DECLARE_CONSTR_3 |
( |
|
SIG, |
|
|
|
LSIG, |
|
|
|
RET_TYPE, |
|
|
|
ARG1_TYPE, |
|
|
|
ARG2_TYPE, |
|
|
|
ARG3_TYPE |
|
) |
| |
Value:SchemePrimitive(const char* module, const char* name, \
RET_TYPE (T::*cb)(ARG1_TYPE, ARG2_TYPE, ARG3_TYPE), T *
data) \
{ \
method.LSIG = cb; \
scheme_module = module; \
scheme_name = name; \
signature = SIG; \
do_register(module, name, 3); \
}
Definition at line 578 of file SchemePrimitive.h.
#define DECLARE_CONSTR_4 |
( |
|
SIG, |
|
|
|
LSIG, |
|
|
|
RET_TYPE, |
|
|
|
ARG1_TYPE, |
|
|
|
ARG2_TYPE, |
|
|
|
ARG3_TYPE, |
|
|
|
ARG4_TYPE |
|
) |
| |
Value:SchemePrimitive(const char* module, const char* name, \
RET_TYPE (T::*cb)(ARG1_TYPE, ARG2_TYPE, ARG3_TYPE, ARG4_TYPE), T *
data) \
{ \
method.LSIG = cb; \
scheme_module = module; \
scheme_name = name; \
signature = SIG; \
do_register(module, name, 4); \
}
Definition at line 589 of file SchemePrimitive.h.