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, funcName, argNames)
 Add to hash-table of functions with typeName as the key. More...
 
#define addNamedToMemberFunctionSelectionTable(baseType, thisType, funcName, argNames, lookupName)
 Add to hash-table of functions with 'lookupName' as the key. More...
 
#define addAliasToMemberFunctionSelectionTable(baseType, thisType, funcName, argNames, lookup, other, ver)
 Add lookup alias for runTime member selection. More...
 
#define addTemplateToMemberFunctionSelectionTable(baseType, thisType, Targ, funcName, argNames)
 Add to hash-table of functions with typeName as the key. More...
 
#define addNamedTemplateToMemberFunctionSelectionTable(baseType, thisType, Targ, funcName, argNames, lookupName)
 Add to hash-table of functions with 'lookupName' as the key. More...
 
#define addAliasTemplateToMemberFunctionSelectionTable(baseType, thisType, Targ, funcName, argNames, lookup, other, ver)
 Add lookup alias for runTime member selection. More...
 
#define addTemplatedToMemberFunctionSelectionTable(baseType, thisType, Targ, funcName, argNames)
 Add to hash-table of functions with typeName as the key. More...
 
#define addNamedTemplatedToMemberFunctionSelectionTable(baseType, thisType, Targ, funcName, argNames, lookupName)
 Add to hash-table of functions with 'lookupName' as the key. More...
 
#define addAliasTemplatedToMemberFunctionSelectionTable(baseType, thisType, Targ, funcName, argNames, lookup, other, ver)
 Add lookup alias for runTime member selection. More...
 

Detailed Description

Macros for easy insertion into member function selection tables.

Original source file addToMemberFunctionSelectionTable.H

InClass Foam::memberFunctionSelectionTables

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

Definition in file addToMemberFunctionSelectionTable.H.

Macro Definition Documentation

◆ addToMemberFunctionSelectionTable

#define addToMemberFunctionSelectionTable (   baseType,
  thisType,
  funcName,
  argNames 
)
Value:
\
/* Add thisType funcName to the table */ \
baseType::add##funcName##argNames##MemberFunctionToTable<thisType> \
add##thisType##funcName##argNames##MemberFunctionTo##baseType##Table_
dict add("bounds", meshBb)

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

Definition at line 45 of file addToMemberFunctionSelectionTable.H.

◆ addNamedToMemberFunctionSelectionTable

#define addNamedToMemberFunctionSelectionTable (   baseType,
  thisType,
  funcName,
  argNames,
  lookupName 
)
Value:
\
/* Add thisType funcName to the table, find by lookup name */ \
baseType::add##funcName##argNames##MemberFunctionToTable<thisType> \
add##thisType##funcName##argNames##MemberFunctionTo## \
baseType##Table_##lookupName##_(#lookupName)

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

Definition at line 54 of file addToMemberFunctionSelectionTable.H.

◆ addAliasToMemberFunctionSelectionTable

#define addAliasToMemberFunctionSelectionTable (   baseType,
  thisType,
  funcName,
  argNames,
  lookup,
  other,
  ver 
)
Value:
\
/* Add thisType funcName to the table, find by lookup name */ \
baseType::addAlias##funcName##argNames##MemberFunctionToTable<thisType> \
add##thisType##funcName##argNames##MemberFunctionTo##baseType##Table_ \
##lookup##_##other##_(#lookup,#other,ver)

Add lookup alias for runTime member selection.

Definition at line 64 of file addToMemberFunctionSelectionTable.H.

◆ addTemplateToMemberFunctionSelectionTable

#define addTemplateToMemberFunctionSelectionTable (   baseType,
  thisType,
  Targ,
  funcName,
  argNames 
)
Value:
\
/* Add thisType funcName to the table */ \
baseType::add##funcName##argNames##MemberFunctionToTable<thisType<Targ>> \
add##thisType##Targ##funcName##argNames##MemberFunctionTo## \
baseType##Table_

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 77 of file addToMemberFunctionSelectionTable.H.

◆ addNamedTemplateToMemberFunctionSelectionTable

#define addNamedTemplateToMemberFunctionSelectionTable (   baseType,
  thisType,
  Targ,
  funcName,
  argNames,
  lookupName 
)
Value:
\
/* Add thisType funcName to the table, find by lookupName */ \
baseType::add##funcName##argNames##MemberFunctionToTable<thisType<Targ>> \
add##thisType##Targ##funcName##argNames##MemberFunctionTo## \
baseType##Table_##lookupName##_(#lookupName)

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

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

Definition at line 88 of file addToMemberFunctionSelectionTable.H.

◆ addAliasTemplateToMemberFunctionSelectionTable

#define addAliasTemplateToMemberFunctionSelectionTable (   baseType,
  thisType,
  Targ,
  funcName,
  argNames,
  lookup,
  other,
  ver 
)
Value:
\
/* Add thisType funcName to the table, find by lookup name */ \
baseType::addAlias##funcName##argNames##MemberFunctionToTable \
<thisType<Targ>> \
add##thisType##Targ##funcName##argNames##MemberFunctionTo##baseType \
##lookup##_##other##_(#lookup,#other,ver)

Add lookup alias for runTime member selection.

Definition at line 98 of file addToMemberFunctionSelectionTable.H.

◆ addTemplatedToMemberFunctionSelectionTable

#define addTemplatedToMemberFunctionSelectionTable (   baseType,
  thisType,
  Targ,
  funcName,
  argNames 
)
Value:
\
/* Add thisType funcName to the table */ \
baseType<Targ>::add##funcName##argNames##MemberFunctionToTable \
<thisType<Targ>> \
add##thisType##Targ##funcName##argNames##MemberFunctionTo## \
baseType##Targ##Table_

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

Use when baseType requires the Targ template argument as well

Definition at line 112 of file addToMemberFunctionSelectionTable.H.

◆ addNamedTemplatedToMemberFunctionSelectionTable

#define addNamedTemplatedToMemberFunctionSelectionTable (   baseType,
  thisType,
  Targ,
  funcName,
  argNames,
  lookupName 
)
Value:
\
/* Add thisType funcName to the table, find by lookupName */ \
baseType<Targ>::add##funcName##argNames##MemberFunctionToTable \
<thisType<Targ>> \
add##thisType##Targ##funcName##argNames##MemberFunctionTo## \
baseType##Targ##Table_##lookupName##_(#lookupName)

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

Use when baseType requires the Targ template argument as well

Definition at line 123 of file addToMemberFunctionSelectionTable.H.

◆ addAliasTemplatedToMemberFunctionSelectionTable

#define addAliasTemplatedToMemberFunctionSelectionTable (   baseType,
  thisType,
  Targ,
  funcName,
  argNames,
  lookup,
  other,
  ver 
)
Value:
\
/* Add thisType funcName to the table, find by lookup name */ \
baseType<Targ>::addAlias##funcName##argNames##MemberFunctionToTable \
<thisType<Targ>> \
add##thisType##Targ##funcName##argNames##MemberFunctionTo##baseType## \
Targ##Table_##lookup##_##other##_(#lookup,#other,ver)

Add lookup alias for runTime member selection.

Definition at line 133 of file addToMemberFunctionSelectionTable.H.