| Develop Biology
                         The language of life | 
#include "IdAndPerspectiveMacros.h"#include "ClassMethodMacros.h"#include "bio/common/macros/Macros.h"#include "bio/physical/Perspective.h" Include dependency graph for Macros.h:
 Include dependency graph for Macros.h: This graph shows which files directly or indirectly include this file:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| Macros | |
| #define | BIO_CODE_FUNCTION_BODY(functionName) | 
| #define | BIO_FILTER_FUNCTION_BODY(functionName) | 
| #define | BIO_GET_OPTIONAL_CLASS_METHODS_FOR_physical() | 
| #define | BIO_GET_REQUIRED_CLASS_METHODS_FOR_physical() | 
| #define | BIO_PROPERTY_FUNCTION_BODY(functionName) | 
| #define | BIO_STATE_FUNCTION_BODY(functionName) | 
| #define | BIO_SYMMETRY_TYPE_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. CodePerspective::Instance().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. FilterPerspective::Instance().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. PropertyPerspective::Instance().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. StatePerspective::Instance().GetNameFromId(Value()) would give "Value". REMINDER: Your State Function()s should be in the bio::state 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. SymmetryTypePerspective::Instance().GetNameFromId(Value()) would give "Value". REMINDER: Your SymmetryType Function()s should be in the bio::symmetry_type namespace.