|
libbio
|
#include "IdAndPerspectiveMacros.h"#include "ClassMethodMacros.h"#include "bio/common/macro/Macros.h"

Go to the source code of this file.
Macros | |
| #define | BIO_GET_REQUIRED_CLASS_METHODS_FOR_physical() |
| #define | BIO_GET_OPTIONAL_CLASS_METHODS_FOR_physical() |
| #define | BIO_CODE_FUNCTION_BODY(functionName) |
| #define | BIO_STATE_FUNCTION_BODY(functionName) |
| #define | BIO_PROPERTY_FUNCTION_BODY(functionName) |
| #define | BIO_SYMMETRY_TYPE_FUNCTION_BODY(functionName) |
| #define | BIO_FILTER_FUNCTION_BODY(functionName) |
| #define | BIO_SUPERPOSITION_FUNCTION_BODY(functionName) |
| #define BIO_CODE_FUNCTION_BODY | ( | functionName | ) |
To make defining return codes easier, use this macro to define the function body of your Code Function().
This will assign a value to a string that is identical to your FunctionName e.g. SafelyAccess<CodePerspective>()->GetNameFromId(Success()) would give "Success"
REMINDER: Your Code Function()s should be in the bio::code namespace.
| #define BIO_FILTER_FUNCTION_BODY | ( | functionName | ) |
To make defining Filters easier, use this macro to define the function body of your Filter Function().
This will assign a value to a string that is identical to your FunctionName e.g. SafelyAccess<FilterPerspective>()->GetNameFromId(Value()) would give "Value".
REMINDER: Your Filter Function()s should be in the bio::filter namespace.
| #define BIO_GET_OPTIONAL_CLASS_METHODS_FOR_physical | ( | ) |
Get all optional virtual methods defined by physical::Class.
| #define BIO_GET_REQUIRED_CLASS_METHODS_FOR_physical | ( | ) |
Get all virtual methods defined by physical::Class.
| #define BIO_PROPERTY_FUNCTION_BODY | ( | functionName | ) |
To make defining Properties easier, use this macro to define the function body of your Property Function().
This will assign a value to a string that is identical to your FunctionName e.g. SafelyAccess<PropertyPerspective>()->GetNameFromId(Value()) would give "Value".
REMINDER: Your Property Function()s should be in the bio::property namespace.
| #define BIO_STATE_FUNCTION_BODY | ( | functionName | ) |
To make defining States easier, use this macro to define the function body of your State Function().
This will assign a value to a string that is identical to your FunctionName e.g. SafelyAccess<StatePerspective>()->GetNameFromId(Value()) would give "Value".
REMINDER: Your State Function()s should be in the bio::state namespace.
| #define BIO_SUPERPOSITION_FUNCTION_BODY | ( | functionName | ) |
To make defining Interferences easier, use this macro to define the function body of your Interference Function().
This will assign a value to a string that is identical to your FunctionName e.g. SafelyAccess<InterferencePerspective>()->GetNameFromId(Value()) would give "Value".
REMINDER: Your Interference Function()s should be in the ::bio::interference namespace.
| #define BIO_SYMMETRY_TYPE_FUNCTION_BODY | ( | functionName | ) |
To make defining SymmetryTypes easier, use this macro to define the function body of your SymmetryType Function().
This will assign a value to a string that is identical to your FunctionName e.g. SafelyAccess<SymmetryTypePerspective>()->GetNameFromId(Value()) would give "Value".
REMINDER: Your SymmetryType Function()s should be in the bio::symmetry_type namespace.