Develop Biology
The language of life
Macros.h File Reference
+ Include dependency graph for Macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BIO_CHEMICAL_BOND_TYPE_FUNCTION_BODY(functionName)
 
#define BIO_GET_OPTIONAL_CLASS_METHODS_FOR_chemical()
 
#define BIO_GET_REQUIRED_CLASS_METHODS_FOR_chemical()
 

Macro Definition Documentation

◆ BIO_CHEMICAL_BOND_TYPE_FUNCTION_BODY

#define BIO_CHEMICAL_BOND_TYPE_FUNCTION_BODY (   functionName)
Value:
functionName##BondType, \
::bio::BondTypePerspective::Instance(), \
::bio::BondType)
#define BIO_ID_FUNCTION_BODY(functionName, perspective, dimension)

To make defining BondTypes easier, use this macro to define the function body of your BondType Function(). This will assign a value to a string that is identical to your FunctionName e.g. BondTypePerspective::Instance().GetNameFromId(Value()) would give "Value".

Definition at line 70 of file Macros.h.

◆ BIO_GET_OPTIONAL_CLASS_METHODS_FOR_chemical

#define BIO_GET_OPTIONAL_CLASS_METHODS_FOR_chemical ( )
Value:
( \
virtual Code Attenuate(const ::bio::physical::Wave* other), \
Attenuate(other) \
), \
( \
virtual Code Disattenuate(const ::bio::physical::Wave* other), \
Disattenuate(other) \
)
#define BIO_GET_OPTIONAL_CLASS_METHODS_FOR_physical()
Definition: Macros.h:58

Get all virtual methods defined by chemical::Class.

Returns
function signatures for use in BIO_DISAMBIGUATE_ALL_CLASS_METHODS

Definition at line 55 of file Macros.h.

◆ BIO_GET_REQUIRED_CLASS_METHODS_FOR_chemical

#define BIO_GET_REQUIRED_CLASS_METHODS_FOR_chemical ( )
Value:
( \
virtual ::bio::Properties GetProperties() const, \
GetProperties() \
), \
( \
virtual ::bio::chemical::Atom* AsAtom(), \
AsAtom() \
), \
( \
template< typename AS > operator AS(), \
template As< AS >() \
), \
( \
virtual const ::bio::chemical::Atom* AsAtom() const, \
AsAtom() \
)
Definition: Cell.h:31
uint8_t Properties
Definition: Types.h:58
#define BIO_GET_REQUIRED_CLASS_METHODS_FOR_physical()
Definition: Macros.h:36

Get all virtual methods defined by chemical::Class.

Returns
function signatures for use in BIO_DISAMBIGUATE_ALL_CLASS_METHODS

Definition at line 33 of file Macros.h.