Loading...
Searching...
No Matches
addToRunTimeSelectionTable.H File Reference

Macros for easy insertion into run-time selection tables. More...

Go to the source code of this file.

Macros

#define addToRunTimeSelectionTable(baseType, thisType, argNames)
 Add to construction table with typeName as the key.
#define addRemovableToRunTimeSelectionTable(baseType, thisType, argNames)
 Add to construction table with typeName as the key.
#define addNamedToRunTimeSelectionTable(baseType, thisType, argNames, lookupName)
 Add to construction table with 'lookupName' as the key.
#define addRemovableNamedToRunTimeSelectionTable(baseType, thisType, argNames, lookupName)
 Add to construction table with 'lookupName' as the key.
#define addAliasToRunTimeSelectionTable(baseType, thisType, argNames, lookup, other, ver)
 Add lookup alias for runTime selection.
#define addTemplateToRunTimeSelectionTable(baseType, thisType, Targ, argNames)
 Add to construction table with typeName as the key.
#define addNamedTemplateToRunTimeSelectionTable(baseType, thisType, Targ, argNames, lookupName)
 Add to construction table with 'lookupName' as the key.
#define addAliasTemplateToRunTimeSelectionTable(baseType, thisType, Targ, argNames, lookup, other, ver)
 Add lookup alias for for runTime selection.
#define addTemplatedToRunTimeSelectionTable(baseType, thisType, Targ, argNames)
 Add to construction table with typeName as the key.
#define addNamedTemplatedToRunTimeSelectionTable(baseType, thisType, Targ, argNames, lookupName)
 Add to construction table with 'lookupName' as the key.
#define addAliasTemplatedToRunTimeSelectionTable(baseType, thisType, Targ, argNames, lookup, other, ver)
 Add lookup alias for for runTime selection.

Detailed Description

Macros for easy insertion into run-time selection tables.

Original source file addToRunTimeSelectionTable.H

Note
The helper macro names used here must remain synchronized with definitions in runTimeSelectionTables.H

Definition in file addToRunTimeSelectionTable.H.

Macro Definition Documentation

◆ addToRunTimeSelectionTable

#define addToRunTimeSelectionTable ( baseType,
thisType,
argNames )
Value:
\
/* Add thisType factory method to the table */ \
baseType::add##argNames##ConstructorToTable<thisType> \
add##thisType##argNames##ConstructorTo##baseType##Table_
dict add("bounds", meshBb)

Add to construction table with typeName as the key.

Definition at line 38 of file addToRunTimeSelectionTable.H.

◆ addRemovableToRunTimeSelectionTable

#define addRemovableToRunTimeSelectionTable ( baseType,
thisType,
argNames )
Value:
\
/* Add thisType factory method to the table */ \
baseType::addRemovable##argNames##ConstructorToTable<thisType> \
addRemovable##thisType##argNames##ConstructorTo##baseType##Table_

Add to construction table with typeName as the key.

Definition at line 49 of file addToRunTimeSelectionTable.H.

◆ addNamedToRunTimeSelectionTable

#define addNamedToRunTimeSelectionTable ( baseType,
thisType,
argNames,
lookupName )
Value:
\
/* Add thisType factory method to the table, find by lookupName */ \
baseType::add##argNames##ConstructorToTable<thisType> \
add##thisType##argNames##ConstructorTo## \
baseType##Table_##lookupName##_(#lookupName)

Add to construction table with 'lookupName' as the key.

Definition at line 60 of file addToRunTimeSelectionTable.H.

◆ addRemovableNamedToRunTimeSelectionTable

#define addRemovableNamedToRunTimeSelectionTable ( baseType,
thisType,
argNames,
lookupName )
Value:
\
/* Add thisType factory method to the table, find by lookupName */ \
baseType::addRemovable##argNames##ConstructorToTable<thisType> \
addRemovable##thisType##argNames##ConstructorTo## \
baseType##Table_##lookupName##_(#lookupName)

Add to construction table with 'lookupName' as the key.

Definition at line 72 of file addToRunTimeSelectionTable.H.

◆ addAliasToRunTimeSelectionTable

#define addAliasToRunTimeSelectionTable ( baseType,
thisType,
argNames,
lookup,
other,
ver )
Value:
\
/* Add thisType constructor function to the table, find by lookup */ \
baseType::addAlias##argNames##ConstructorToTable<thisType> \
add##thisType##argNames##ConstructorTo##baseType##Table_ \
##lookup##_##other##_(#lookup,#other,ver)

Add lookup alias for runTime selection.

Definition at line 84 of file addToRunTimeSelectionTable.H.

◆ addTemplateToRunTimeSelectionTable

#define addTemplateToRunTimeSelectionTable ( baseType,
thisType,
Targ,
argNames )
Value:
\
/* Add thisType factory method to the table */ \
baseType::add##argNames##ConstructorToTable<thisType<Targ>> \
add##thisType##Targ##argNames##ConstructorTo##baseType##Table_

Add to construction table with typeName as the key.

Use when baseType doesn't need a template argument (eg, is a typedef)

Definition at line 100 of file addToRunTimeSelectionTable.H.

◆ addNamedTemplateToRunTimeSelectionTable

#define addNamedTemplateToRunTimeSelectionTable ( baseType,
thisType,
Targ,
argNames,
lookupName )
Value:
\
/* Add thisType factory method to the table, find by lookupName */ \
baseType::add##argNames##ConstructorToTable<thisType<Targ>> \
add##thisType##Targ##argNames##ConstructorTo## \
baseType##Table_##lookupName##_(#lookupName)

Add to construction table with 'lookupName' as the key.

Use when baseType doesn't need a template argument (eg, is a typedef)

Definition at line 113 of file addToRunTimeSelectionTable.H.

◆ addAliasTemplateToRunTimeSelectionTable

#define addAliasTemplateToRunTimeSelectionTable ( baseType,
thisType,
Targ,
argNames,
lookup,
other,
ver )
Value:
\
/* Add thisType constructor function to the table, find by lookup */ \
baseType::addAlias##argNames##ConstructorToTable<thisType<Targ>> \
add##thisType##Targs##argNames##ConstructorTo##baseType##Table_ \
##lookup##_##other##_(#lookup,#other,ver)

Add lookup alias for for runTime selection.

Definition at line 125 of file addToRunTimeSelectionTable.H.

◆ addTemplatedToRunTimeSelectionTable

#define addTemplatedToRunTimeSelectionTable ( baseType,
thisType,
Targ,
argNames )
Value:
\
/* Add thisType factory method to the table */ \
baseType<Targ>::add##argNames##ConstructorToTable<thisType<Targ>> \
add##thisType##Targ##argNames##ConstructorTo##baseType##Targ##Table_

Add to construction table with typeName as the key.

Use when baseType requires the Targ template argument as well

Definition at line 141 of file addToRunTimeSelectionTable.H.

◆ addNamedTemplatedToRunTimeSelectionTable

#define addNamedTemplatedToRunTimeSelectionTable ( baseType,
thisType,
Targ,
argNames,
lookupName )
Value:
\
/* Add thisType factory method to the table, find by lookupName */ \
baseType<Targ>::add##argNames##ConstructorToTable<thisType<Targ>> \
add##thisType##Targ##argNames##ConstructorTo## \
baseType##Targ##Table_##lookupName##_(#lookupName)

Add to construction table with 'lookupName' as the key.

Use when baseType requires the Targ template argument as well

Definition at line 154 of file addToRunTimeSelectionTable.H.

◆ addAliasTemplatedToRunTimeSelectionTable

#define addAliasTemplatedToRunTimeSelectionTable ( baseType,
thisType,
Targ,
argNames,
lookup,
other,
ver )
Value:
\
/* Add the thisType constructor function to the table, find by lookup */ \
baseType<Targ>::add##argNames##ConstructorToTable<thisType<Targ>> \
add##thisType##Targ##argNames##ConstructorTo##baseType##Targ## \
Table_##lookup##_##other##_(#lookup,#other,ver)

Add lookup alias for for runTime selection.

Use when baseType requires the Targ template argument as well

Definition at line 168 of file addToRunTimeSelectionTable.H.