Develop Biology
The language of life
|
Go to the source code of this file.
Macros | |
#define | BIO_INSERTION_SITE_FUNCTION_BODY(functionName, toInsert) |
#define | BIO_LOCALIZATION_SITE_FUNCTION_BODY(functionName, toExtract) |
#define | BIO_SITE(functionName) |
#define | BIO_SITE_FUNCTION(perspective, site, type, function, typeTuple, argTuple) |
#define | BIO_SITE_FUNCTION_BODY(functionName, type) |
#define BIO_INSERTION_SITE_FUNCTION_BODY | ( | functionName, | |
toInsert | |||
) |
To make defining Sites easier, use this macro to define the function body of your Site Function(). This will assign a value to a string that is identical to your FunctionName e.g. InsertionSitePerspective::Instance().GetNameFromId(Value()) would give "Value". This will also help you define the required insertion method (chemical::Excitation*) required for using your Site. REMINDER: Your Site Function()s should be in the ::bio::site namespace.
Definition at line 62 of file SiteMacros.h.
#define BIO_LOCALIZATION_SITE_FUNCTION_BODY | ( | functionName, | |
toExtract | |||
) |
To make defining Sites easier, use this macro to define the function body of your Site Function(). This will assign a value to a string that is identical to your FunctionName e.g. LocalizationSitePerspective::Instance().GetNameFromId(Value()) would give "Value". This will also help you define the required extraction method (chemical::Excitation*) required for accessing your Site. REMINDER: Your Site Function()s should be in the ::bio::site namespace.
Definition at line 49 of file SiteMacros.h.
#define BIO_SITE | ( | functionName | ) |
Ease of use method for declaring all kinds of sites at once.
Definition at line 72 of file SiteMacros.h.
#define BIO_SITE_FUNCTION | ( | perspective, | |
site, | |||
type, | |||
function, | |||
typeTuple, | |||
argTuple | |||
) |
This is not for you.
Definition at line 27 of file SiteMacros.h.
#define BIO_SITE_FUNCTION_BODY | ( | functionName, | |
type | |||
) |
Ease of use method of defining all kinds of sites at once.
Definition at line 80 of file SiteMacros.h.