Definition in file memberFunctionSelectionTables.H.
#include "src/OpenFOAM/db/IOstreams/token/token.H"
#include "src/OpenFOAM/containers/HashTables/HashTable/HashTable.H"
Go to the source code of this file.
Defines | |
#define | declareMemberFunctionSelectionTable(returnType, baseType, memberFunction, argNames, argList, parList) |
#define | defineMemberFunctionSelectionTableMemberFunction(baseType, memberFunction, argNames) |
#define | defineMemberFunctionSelectionTableDestructor(baseType, memberFunction, argNames) |
#define | defineMemberFunctionSelectionTablePtr(baseType, memberFunction, argNames) |
#define | defineTemplateMemberFunctionSelectionTablePtr(baseType, memberFunction, argNames) |
#define | defineMemberFunctionSelectionTable(baseType, memberFunction, argNames) |
#define | defineTemplateMemberFunctionSelectionTable(baseType, memberFunction, argNames) |
#define | defineTemplatedMemberFunctionSelectionTableMemberFunction(baseType, memberFunction, argNames, Targ) |
#define | defineTemplatedMemberFunctionSelectionTableDestructor(baseType, memberFunction, argNames, Targ) |
#define | defineTemplatedMemberFunctionSelectionTablePtr(baseType, memberFunction, argNames, Targ) |
#define | defineTemplatedMemberFunctionSelectionTable(baseType, memberFunction, argNames, Targ) |
#define declareMemberFunctionSelectionTable | ( | returnType, | |
baseType, | |||
memberFunction, | |||
argNames, | |||
argList, | |||
parList | |||
) |
Definition at line 45 of file memberFunctionSelectionTables.H.
#define defineMemberFunctionSelectionTableMemberFunction | ( | baseType, | |
memberFunction, | |||
argNames | |||
) |
\ /* Table memberFunction called from the table add function */ \ void baseType::construct##memberFunction##argNames##MemberFunctionTables()\ { \ static bool constructed = false; \ \ if (!constructed) \ { \ baseType::memberFunction##argNames##MemberFunctionTablePtr_ \ = new baseType::memberFunction##argNames##MemberFunctionTable;\ \ constructed = true; \ } \ }
Definition at line 94 of file memberFunctionSelectionTables.H.
#define defineMemberFunctionSelectionTableDestructor | ( | baseType, | |
memberFunction, | |||
argNames | |||
) |
\ /* Table destructor called from the table add function destructor */ \ void baseType::destroy##memberFunction##argNames##MemberFunctionTables() \ { \ if (baseType::memberFunction##argNames##MemberFunctionTablePtr_) \ { \ delete baseType::memberFunction##argNames##MemberFunctionTablePtr_;\ baseType::memberFunction##argNames##MemberFunctionTablePtr_ = NULL;\ } \ }
Definition at line 114 of file memberFunctionSelectionTables.H.
#define defineMemberFunctionSelectionTablePtr | ( | baseType, | |
memberFunction, | |||
argNames | |||
) |
\
/* Define the memberFunction table */ \
baseType::memberFunction##argNames##MemberFunctionTable* \
baseType::memberFunction##argNames##MemberFunctionTablePtr_ = NULL
Definition at line 130 of file memberFunctionSelectionTables.H.
#define defineTemplateMemberFunctionSelectionTablePtr | ( | baseType, | |
memberFunction, | |||
argNames | |||
) |
\ /* Define the memberFunction table */ \ typename baseType::memberFunction##argNames##MemberFunctionTable* \ baseType::memberFunction##argNames##MemberFunctionTablePtr_ = NULL
Definition at line 139 of file memberFunctionSelectionTables.H.
#define defineMemberFunctionSelectionTable | ( | baseType, | |
memberFunction, | |||
argNames | |||
) |
\ defineMemberFunctionSelectionTablePtr \ (baseType,memberFunction,argNames); \ defineMemberFunctionSelectionTableMemberFunction \ (baseType,memberFunction,argNames) \ defineMemberFunctionSelectionTableDestructor \ (baseType,memberFunction,argNames)
Definition at line 152 of file memberFunctionSelectionTables.H.
#define defineTemplateMemberFunctionSelectionTable | ( | baseType, | |
memberFunction, | |||
argNames | |||
) |
\ template<> \ defineMemberFunctionSelectionTablePtr \ (baseType,memberFunction,argNames); \ template<> \ defineMemberFunctionSelectionTableMemberFunction \ (baseType,memberFunction,argNames) \ template<> \ defineMemberFunctionSelectionTableDestructor \ (baseType,memberFunction,argNames)
Definition at line 167 of file memberFunctionSelectionTables.H.
#define defineTemplatedMemberFunctionSelectionTableMemberFunction | ( | baseType, | |
memberFunction, | |||
argNames, | |||
Targ | |||
) |
\ /* Table memberFunction called from the table add function */ \ void baseType<Targ>::construct##memberFunction##argNames##MemberFunctionTables()\ { \ static bool constructed = false; \ \ if (!constructed) \ { \ baseType<Targ>::memberFunction##argNames##MemberFunctionTablePtr_ \ = new baseType<Targ>::memberFunction##argNames##MemberFunctionTable;\ \ constructed = true; \ } \ }
Definition at line 186 of file memberFunctionSelectionTables.H.
#define defineTemplatedMemberFunctionSelectionTableDestructor | ( | baseType, | |
memberFunction, | |||
argNames, | |||
Targ | |||
) |
\ /* Table destructor called from the table add function destructor */ \ void baseType<Targ>::destroy##memberFunction##argNames##MemberFunctionTables() \ { \ if (baseType<Targ>::memberFunction##argNames##MemberFunctionTablePtr_) \ { \ delete baseType<Targ>::memberFunction##argNames##MemberFunctionTablePtr_;\ baseType<Targ>::memberFunction##argNames##MemberFunctionTablePtr_ = NULL;\ } \ }
Definition at line 207 of file memberFunctionSelectionTables.H.
#define defineTemplatedMemberFunctionSelectionTablePtr | ( | baseType, | |
memberFunction, | |||
argNames, | |||
Targ | |||
) |
\
/* Define the memberFunction table */ \
baseType<Targ>::memberFunction##argNames##MemberFunctionTable* \
baseType<Targ>::memberFunction##argNames##MemberFunctionTablePtr_ = NULL
Definition at line 224 of file memberFunctionSelectionTables.H.
#define defineTemplatedMemberFunctionSelectionTable | ( | baseType, | |
memberFunction, | |||
argNames, | |||
Targ | |||
) |
\ template<> \ defineTemplatedMemberFunctionSelectionTablePtr \ (baseType,memberFunction,argNames,Targ); \ template<> \ defineTemplatedMemberFunctionSelectionTableMemberFunction \ (baseType,memberFunction,argNames,Targ) \ template<> \ defineTemplatedMemberFunctionSelectionTableDestructor \ (baseType,memberFunction,argNames,Targ)
Definition at line 236 of file memberFunctionSelectionTables.H.