Macros to ease declaration of run-time selection tables. More...
Go to the source code of this file.
Macros | |
#define | declareRunTimeSelectionTable(autoPtr, baseType, argNames, argList, parList) |
Declare a run-time selection. More... | |
#define | declareRunTimeNewSelectionTable( autoPtr, baseType, argNames, argList, parList) |
Declare a run-time selection for derived classes. More... | |
#define | defineRunTimeSelectionTableConstructor(baseType, argNames) |
#define | defineRunTimeSelectionTableDestructor(baseType, argNames) |
#define | defineRunTimeSelectionTablePtr(baseType, argNames) |
#define | defineRunTimeSelectionTable(baseType, argNames) |
Define run-time selection table. More... | |
#define | defineTemplateRunTimeSelectionTable(baseType, argNames) |
Define run-time selection table for template classes. More... | |
#define | defineTemplatedRunTimeSelectionTableConstructor(baseType, argNames, Targ) |
#define | defineTemplatedRunTimeSelectionTableDestructor(baseType, argNames, Targ) |
#define | defineTemplatedRunTimeSelectionTablePtr(baseType, argNames, Targ) |
Create pointer to hash-table of functions. More... | |
#define | defineTemplatedRunTimeSelectionTable(baseType, argNames, Targ) |
Define run-time selection table for template classes. More... | |
Macros to ease declaration of run-time selection tables.
Original source file runTimeSelectionTables.H
declareRunTimeSelectionTable is used to create a run-time selection table for a base-class which holds constructor pointers on the table.
declareRunTimeNewSelectionTable is used to create a run-time selection table for a derived-class which holds "New" pointers on the table.
Definition in file runTimeSelectionTables.H.
#define declareRunTimeSelectionTable | ( | autoPtr, | |
baseType, | |||
argNames, | |||
argList, | |||
parList | |||
) |
Declare a run-time selection.
Definition at line 46 of file runTimeSelectionTables.H.
#define declareRunTimeNewSelectionTable | ( | autoPtr, | |
baseType, | |||
argNames, | |||
argList, | |||
parList | |||
) |
Declare a run-time selection for derived classes.
Definition at line 134 of file runTimeSelectionTables.H.
#define defineRunTimeSelectionTableConstructor | ( | baseType, | |
argNames | |||
) |
Definition at line 232 of file runTimeSelectionTables.H.
#define defineRunTimeSelectionTableDestructor | ( | baseType, | |
argNames | |||
) |
Definition at line 248 of file runTimeSelectionTables.H.
#define defineRunTimeSelectionTablePtr | ( | baseType, | |
argNames | |||
) |
Definition at line 262 of file runTimeSelectionTables.H.
#define defineRunTimeSelectionTable | ( | baseType, | |
argNames | |||
) |
Define run-time selection table.
Definition at line 273 of file runTimeSelectionTables.H.
#define defineTemplateRunTimeSelectionTable | ( | baseType, | |
argNames | |||
) |
Define run-time selection table for template classes.
use when baseType doesn't need a template argument (eg, is a typedef)
Definition at line 282 of file runTimeSelectionTables.H.
#define defineTemplatedRunTimeSelectionTableConstructor | ( | baseType, | |
argNames, | |||
Targ | |||
) |
Definition at line 295 of file runTimeSelectionTables.H.
#define defineTemplatedRunTimeSelectionTableDestructor | ( | baseType, | |
argNames, | |||
Targ | |||
) |
Definition at line 311 of file runTimeSelectionTables.H.
#define defineTemplatedRunTimeSelectionTablePtr | ( | baseType, | |
argNames, | |||
Targ | |||
) |
Create pointer to hash-table of functions.
use when baseType requires the Targ template argument
Definition at line 326 of file runTimeSelectionTables.H.
#define defineTemplatedRunTimeSelectionTable | ( | baseType, | |
argNames, | |||
Targ | |||
) |
Define run-time selection table for template classes.
use when baseType requires the Targ template argument
Definition at line 335 of file runTimeSelectionTables.H.