MeVisLab Toolbox Reference
|
#include "mlRuntimeType.h"
Go to the source code of this file.
Macros | |
#define | ML_BASE_IS_A(base, type) ((base && base->getTypeId()) ? base->getTypeId()->isDerivedFrom(type::getClassTypeId()) : false) |
This file defines macros that are inserted in classes to declare and implement additional class members for the Runtime Type System (see also mlRuntimeType.h, mlRuntime.h and mlRuntimeDict.h). More... | |
#define | ML_EMPTY_PARAM |
Define an empty macro needed to pass empty macro parameters. More... | |
#define | ML_INTERNAL_CLASS_HEADER_CREATECB(EXP_SYM) |
#define | ML_INTERNAL_CLASS_HEADER_EXPORTED(className, EXP_SYM, ML_INTERNAL_VIRTUAL, ML_INTERNAL_OVERRIDE) |
#define | ML_CLASS_HEADER_EXPORTED(className, EXP_SYM) |
This macro has to be put into the header of a non-abstract class to declare some additional methods described below. More... | |
#define | ML_CLASS_HEADER(className) |
Same like ML_CLASS_HEADER_EXPORTED with a non-existing export symbol. More... | |
#define | ML_ROOT_CLASS_HEADER(className) |
#define | ML_INTERNAL_CLASS_SOURCE(className, parentName, createCB) |
#define | ML_INTERNAL_CLASS_CREATECB(className) |
#define | ML_CLASS_SOURCE(className, parentName) |
This macro has to be put into the source file of a non-abstract class to implement the methods declared with ML_CLASS_HEADER This interface, implemented by this macro, permits the handling of this class type by the runtime type interface. More... | |
#define | ML_ROOT_CLASS_SOURCE(className) ML_CLASS_SOURCE(className,) |
This macro has to be put into the source file of a non-abstract class to implement the methods declared with ML_CLASS_HEADER This version shall be used for classes with no parent class. More... | |
#define | ML_ABSTRACT_CLASS_HEADER_EXPORTED(className, EXP_SYM) ML_INTERNAL_CLASS_HEADER_EXPORTED(className, EXP_SYM, ML_EMPTY_PARAM, override) |
This macro has to be put into the header of an abstract class to declare some additional methods described below This interface, implemented by this macro, permits the handling of this class type by the runtime type interface. More... | |
#define | ML_ABSTRACT_CLASS_HEADER(className) ML_INTERNAL_CLASS_HEADER_EXPORTED(className, ML_EMPTY_PARAM, ML_EMPTY_PARAM, override) |
Similar to ML_ABSTRACT_CLASS_HEADER_EXPORTED with a non-existing export symbol. More... | |
#define | ML_ABSTRACT_ROOT_CLASS_HEADER(className) ML_INTERNAL_CLASS_HEADER_EXPORTED(className, ML_EMPTY_PARAM, virtual , ML_EMPTY_PARAM) |
#define | ML_ABSTRACT_CLASS_SOURCE(className, parentName) ML_INTERNAL_CLASS_SOURCE(className,parentName, nullptr) \ |
This macro has to be put into the source file of an abstract class to implement the methods declared with ML_ABSTRACT_CLASS_HEADER This interface, implemented by this macro, permits the handling of this class type by the runtime type interface. More... | |
#define | ML_ABSTRACT_ROOT_CLASS_SOURCE(className) ML_ABSTRACT_CLASS_SOURCE(className,) |
This macro has to be put into the source file of an abstract class to implement the methods declared with ML_ABSTRACT_CLASS_HEADER This version shall be used for classes with no parent class. More... | |
#define | ML_MODULE_CLASS_HEADER(className) |
Similar to ML_CLASS_HEADER for the usage of derived classes from Module . More... | |
#define | ML_MODULE_CLASS_SOURCE(className, parentName) |
Similar to ML_CLASS_SOURCE for the usage of derived classes from Module . More... | |
#define | ML_ABSTRACT_MODULE_CLASS_HEADER(className) |
Similar to ML_ABSTRACT_CLASS_HEADER for the usage of derived classes from Module . More... | |
#define | ML_ABSTRACT_MODULE_CLASS_SOURCE(className, parentName) |
Similar to ML_ABSTRACT_CLASS_SOURCE for the usage of derived classes from Module . More... | |
#define | ML_MODULE_CLASS_SOURCE_EXT(className, parentName, superClassConstructs) |
Similar to ML_MODULE_CLASS_SOURCE where certain parameters can be passed, which initializes superclass members or members. More... | |
#define | ML_ABSTRACT_MODULE_CLASS_SOURCE_EXT(className, parentName, superClassConstructs) |
Like ML_ABSTRACT_MODULE_CLASS_SOURCE where certain parameters can be passed, which initializes superclass components or members. More... | |
#define ML_ABSTRACT_CLASS_HEADER_EXPORTED | ( | className, | |
EXP_SYM | |||
) | ML_INTERNAL_CLASS_HEADER_EXPORTED(className, EXP_SYM, ML_EMPTY_PARAM, override) |
This macro has to be put into the header of an abstract class to declare some additional methods described below This interface, implemented by this macro, permits the handling of this class type by the runtime type interface.
Definition at line 194 of file mlRuntimeSubClass.h.
#define ML_ABSTRACT_ROOT_CLASS_HEADER | ( | className | ) | ML_INTERNAL_CLASS_HEADER_EXPORTED(className, ML_EMPTY_PARAM, virtual , ML_EMPTY_PARAM) |
Definition at line 205 of file mlRuntimeSubClass.h.
#define ML_CLASS_HEADER | ( | className | ) |
Same like ML_CLASS_HEADER_EXPORTED with a non-existing export symbol.
Definition at line 98 of file mlRuntimeSubClass.h.
#define ML_CLASS_HEADER_EXPORTED | ( | className, | |
EXP_SYM | |||
) |
This macro has to be put into the header of a non-abstract class to declare some additional methods described below.
This interface implemented by this macro permits the handling of this class type by the runtime type interface. EXP_SYM
can be an export symbol for the case that the class itself is not exported.
Definition at line 90 of file mlRuntimeSubClass.h.
#define ML_EMPTY_PARAM |
Define an empty macro needed to pass empty macro parameters.
Definition at line 39 of file mlRuntimeSubClass.h.
#define ML_INTERNAL_CLASS_CREATECB | ( | className | ) |
Definition at line 159 of file mlRuntimeSubClass.h.
#define ML_INTERNAL_CLASS_HEADER_CREATECB | ( | EXP_SYM | ) |
Definition at line 42 of file mlRuntimeSubClass.h.
#define ML_INTERNAL_CLASS_HEADER_EXPORTED | ( | className, | |
EXP_SYM, | |||
ML_INTERNAL_VIRTUAL, | |||
ML_INTERNAL_OVERRIDE | |||
) |
Definition at line 49 of file mlRuntimeSubClass.h.
#define ML_INTERNAL_CLASS_SOURCE | ( | className, | |
parentName, | |||
createCB | |||
) |
Definition at line 106 of file mlRuntimeSubClass.h.
#define ML_ROOT_CLASS_HEADER | ( | className | ) |
Definition at line 102 of file mlRuntimeSubClass.h.