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

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 41 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 52 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 80 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 94 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 106 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 123 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 137 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 149 of file addToMemberFunctionSelectionTable.H.