Macros
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 hash-table of functions with typename as the key. More...
 
#define addNamedToRunTimeSelectionTable(baseType, thisType, argNames, lookup)
 Add to hash-table of functions with 'lookup' as the key. More...
 
#define addRemovableToRunTimeSelectionTable(baseType, thisType, argNames)
 Add to hash-table of functions with typename as the key. More...
 
#define addRemovableNamedToRunTimeSelectionTable(baseType, thisType, argNames, lookup)
 Add to hash-table of functions with 'lookup' as the key. More...
 
#define addTemplateToRunTimeSelectionTable(baseType, thisType, Targ, argNames)
 Add to hash-table of functions with typename as the key. More...
 
#define addNamedTemplateToRunTimeSelectionTable(baseType, thisType, Targ, argNames, lookup)
 Add to hash-table of functions with 'lookup' as the key. More...
 
#define addTemplatedToRunTimeSelectionTable(baseType, thisType, Targ, argNames)
 Add to hash-table of functions with typename as the key. More...
 
#define addNamedTemplatedToRunTimeSelectionTable(baseType, thisType, Targ, argNames, lookup)
 Add to hash-table of functions with 'lookup' as the key. More...
 

Detailed Description

Macros for easy insertion into run-time selection tables.

Original source file addToRunTimeSelectionTable.H

Definition in file addToRunTimeSelectionTable.H.

Macro Definition Documentation

◆ addToRunTimeSelectionTable

#define addToRunTimeSelectionTable (   baseType,
  thisType,
  argNames 
)
Value:
\
/* Add the thisType constructor function to the table */ \
baseType::add##argNames##ConstructorToTable<thisType> \
add##thisType##argNames##ConstructorTo##baseType##Table_
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)

Add to hash-table of functions with typename as the key.

Definition at line 35 of file addToRunTimeSelectionTable.H.

◆ addNamedToRunTimeSelectionTable

#define addNamedToRunTimeSelectionTable (   baseType,
  thisType,
  argNames,
  lookup 
)
Value:
\
/* Add the thisType constructor function to the table, find by lookup */ \
baseType::add##argNames##ConstructorToTable<thisType> \
add_##lookup##_##thisType##argNames##ConstructorTo##baseType##Table_ \
(#lookup)
stressControl lookup("compactNormalStress") >> compactNormalStress
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)

Add to hash-table of functions with 'lookup' as the key.

Definition at line 44 of file addToRunTimeSelectionTable.H.

◆ addRemovableToRunTimeSelectionTable

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

Add to hash-table of functions with typename as the key.

Definition at line 54 of file addToRunTimeSelectionTable.H.

◆ addRemovableNamedToRunTimeSelectionTable

#define addRemovableNamedToRunTimeSelectionTable (   baseType,
  thisType,
  argNames,
  lookup 
)
Value:
\
/* Add the thisType constructor function to the table, find by lookup */ \
baseType::addRemovable##argNames##ConstructorToTable<thisType> \
addRemovable_##lookup##_##thisType##argNames##ConstructorTo \
##baseType##Table_(#lookup)
stressControl lookup("compactNormalStress") >> compactNormalStress

Add to hash-table of functions with 'lookup' as the key.

Definition at line 63 of file addToRunTimeSelectionTable.H.

◆ addTemplateToRunTimeSelectionTable

#define addTemplateToRunTimeSelectionTable (   baseType,
  thisType,
  Targ,
  argNames 
)
Value:
\
/* Add the thisType constructor function to the table */ \
baseType::add##argNames##ConstructorToTable<thisType<Targ>> \
add##thisType##Targ##argNames##ConstructorTo##baseType##Table_
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)

Add to hash-table of functions with typename as the key.

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

Definition at line 76 of file addToRunTimeSelectionTable.H.

◆ addNamedTemplateToRunTimeSelectionTable

#define addNamedTemplateToRunTimeSelectionTable (   baseType,
  thisType,
  Targ,
  argNames,
  lookup 
)
Value:
\
/* Add the thisType constructor function to the table, find by lookup */ \
baseType::add##argNames##ConstructorToTable<thisType<Targ>> \
add_##lookup##_##thisType##Targ##argNames##ConstructorTo##baseType \
##Table_(#lookup)
stressControl lookup("compactNormalStress") >> compactNormalStress
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)

Add to hash-table of functions with 'lookup' as the key.

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

Definition at line 86 of file addToRunTimeSelectionTable.H.

◆ addTemplatedToRunTimeSelectionTable

#define addTemplatedToRunTimeSelectionTable (   baseType,
  thisType,
  Targ,
  argNames 
)
Value:
\
/* Add the thisType constructor function to the table */ \
baseType<Targ>::add##argNames##ConstructorToTable<thisType<Targ>> \
add##thisType##Targ##argNames##ConstructorTo##baseType##Targ##Table_
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)

Add to hash-table of functions with typename as the key.

Use when baseType requires the Targ template argument as well

Definition at line 99 of file addToRunTimeSelectionTable.H.

◆ addNamedTemplatedToRunTimeSelectionTable

#define addNamedTemplatedToRunTimeSelectionTable (   baseType,
  thisType,
  Targ,
  argNames,
  lookup 
)
Value:
\
/* Add the thisType constructor function to the table, find by lookup */ \
baseType<Targ>::add##argNames##ConstructorToTable<thisType<Targ>> \
add_##lookup##_##thisType##Targ##argNames##ConstructorTo##baseType## \
Targ##Table_(#lookup)
stressControl lookup("compactNormalStress") >> compactNormalStress
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)

Add to hash-table of functions with 'lookup' as the key.

Use when baseType requires the Targ template argument as well

Definition at line 109 of file addToRunTimeSelectionTable.H.