All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
addToMemberFunctionSelectionTable.H File Reference

Macros for easy insertion into member function selection tables. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define addToMemberFunctionSelectionTable(baseType, thisType, memberFunction, argNames)
 
#define addNamedToMemberFunctionSelectionTable(baseType, thisType, memberFunction, argNames, lookup)
 
#define addTemplateToMemberFunctionSelectionTable(baseType, thisType, Targ, memberFunction, argNames)
 
#define addNamedTemplateToMemberFunctionSelectionTable(baseType, thisType, Targ, memberFunction, argNames, lookup)
 
#define addTemplatedToMemberFunctionSelectionTable(baseType, thisType, Targ, memberFunction, argNames)
 
#define addNamedTemplatedToMemberFunctionSelectionTable(baseType, thisType, Targ, memberFunction, argNames, lookup)
 
#define addTemplatedToMemberFunctionSelectionTable(baseType, thisType, Targ, memberFunction, argNames)
 
#define addNamedTemplatedToMemberFunctionSelectionTable(baseType, thisType, Targ, memberFunction, argNames, lookup)
 

Detailed Description

Macros for easy insertion into member function selection tables.

Original source file addToMemberFunctionSelectionTable.H

InClass Foam::memberFunctionSelectionTables

Definition in file addToMemberFunctionSelectionTable.H.

Macro Definition Documentation

◆ addToMemberFunctionSelectionTable

#define addToMemberFunctionSelectionTable (   baseType,
  thisType,
  memberFunction,
  argNames 
)
Value:
\
/* Add the thisType memberFunction to the table */ \
baseType::add##memberFunction##argNames##MemberFunctionToTable<thisType> \
add##thisType##memberFunction##argNames##MemberFunctionTo##baseType##Table_
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)

Definition at line 39 of file addToMemberFunctionSelectionTable.H.

◆ addNamedToMemberFunctionSelectionTable

#define addNamedToMemberFunctionSelectionTable (   baseType,
  thisType,
  memberFunction,
  argNames,
  lookup 
)
Value:
\
/* Add the thisType memberFunction to the table, find by lookup name */ \
baseType::add##memberFunction##argNames##MemberFunctionToTable<thisType> \
add_##lookup##_##thisType##memberFunction##argNames##MemberFunctionTo## \
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)

Definition at line 49 of file addToMemberFunctionSelectionTable.H.

◆ addTemplateToMemberFunctionSelectionTable

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

Definition at line 63 of file addToMemberFunctionSelectionTable.H.

◆ addNamedTemplateToMemberFunctionSelectionTable

#define addNamedTemplateToMemberFunctionSelectionTable (   baseType,
  thisType,
  Targ,
  memberFunction,
  argNames,
  lookup 
)
Value:
\
/* Add the thisType memberFunction to the table, find by lookup name */ \
baseType::add##memberFunction##argNames## \
MemberFunctionToTable<thisType<Targ>> \
add_##lookup##_##thisType##Targ##memberFunction##argNames## \
MemberFunctionTo##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)

Definition at line 75 of file addToMemberFunctionSelectionTable.H.

◆ addTemplatedToMemberFunctionSelectionTable [1/2]

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

Definition at line 110 of file addToMemberFunctionSelectionTable.H.

◆ addNamedTemplatedToMemberFunctionSelectionTable [1/2]

#define addNamedTemplatedToMemberFunctionSelectionTable (   baseType,
  thisType,
  Targ,
  memberFunction,
  argNames,
  lookup 
)
Value:
\
/* Add the thisType memberFunction to the table, find by lookup name */ \
baseType<Targ>::add##memberFunction##argNames## \
MemberFunctionToTable<thisType<Targ>> \
add_##lookup##_##thisType##Targ##memberFunction##argNames## \
MemberFunctionTo##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)

Definition at line 122 of file addToMemberFunctionSelectionTable.H.

◆ addTemplatedToMemberFunctionSelectionTable [2/2]

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

Definition at line 110 of file addToMemberFunctionSelectionTable.H.

◆ addNamedTemplatedToMemberFunctionSelectionTable [2/2]

#define addNamedTemplatedToMemberFunctionSelectionTable (   baseType,
  thisType,
  Targ,
  memberFunction,
  argNames,
  lookup 
)
Value:
\
/* Add the thisType memberFunction to the table, find by lookup name */ \
baseType<Targ>::add##memberFunction##argNames## \
MemberFunctionToTable<thisType<Targ>> \
add_##lookup##_##thisType##Targ##memberFunction##argNames## \
MemberFunctionTo##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)

Definition at line 122 of file addToMemberFunctionSelectionTable.H.