Macros
memberFunctionSelectionTables.H File Reference
Include dependency graph for memberFunctionSelectionTables.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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)
 

Detailed Description

Original source file memberFunctionSelectionTables.H

Definition in file memberFunctionSelectionTables.H.

Macro Definition Documentation

#define declareMemberFunctionSelectionTable (   returnType,
  baseType,
  memberFunction,
  argNames,
  argList,
  parList 
)

Definition at line 44 of file memberFunctionSelectionTables.H.

#define defineMemberFunctionSelectionTableMemberFunction (   baseType,
  memberFunction,
  argNames 
)
Value:
\
/* Table memberFunction called from the table add function */ \
void baseType::construct##memberFunction##argNames##MemberFunctionTables()\
{ \
static bool constructed = false; \
if (!constructed) \
{ \
constructed = true; \
baseType::memberFunction##argNames##MemberFunctionTablePtr_ \
= new baseType::memberFunction##argNames##MemberFunctionTable;\
} \
}

Definition at line 93 of file memberFunctionSelectionTables.H.

#define defineMemberFunctionSelectionTableDestructor (   baseType,
  memberFunction,
  argNames 
)
Value:
\
/* 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 111 of file memberFunctionSelectionTables.H.

#define defineMemberFunctionSelectionTablePtr (   baseType,
  memberFunction,
  argNames 
)
Value:
\
/* Define the memberFunction table */ \
baseType::memberFunction##argNames##MemberFunctionTable* \
baseType::memberFunction##argNames##MemberFunctionTablePtr_ = NULL

Definition at line 127 of file memberFunctionSelectionTables.H.

#define defineTemplateMemberFunctionSelectionTablePtr (   baseType,
  memberFunction,
  argNames 
)
Value:
\
/* Define the memberFunction table */ \
typename baseType::memberFunction##argNames##MemberFunctionTable* \
baseType::memberFunction##argNames##MemberFunctionTablePtr_ = NULL

Definition at line 136 of file memberFunctionSelectionTables.H.

#define defineMemberFunctionSelectionTable (   baseType,
  memberFunction,
  argNames 
)
Value:
\
defineMemberFunctionSelectionTablePtr \
(baseType,memberFunction,argNames); \
defineMemberFunctionSelectionTableMemberFunction \
(baseType,memberFunction,argNames) \
(baseType,memberFunction,argNames)
#define defineMemberFunctionSelectionTableDestructor(baseType, memberFunction, argNames)

Definition at line 149 of file memberFunctionSelectionTables.H.

#define defineTemplateMemberFunctionSelectionTable (   baseType,
  memberFunction,
  argNames 
)
Value:
\
template<> \
defineMemberFunctionSelectionTablePtr \
(baseType,memberFunction,argNames); \
template<> \
defineMemberFunctionSelectionTableMemberFunction \
(baseType,memberFunction,argNames) \
template<> \
(baseType,memberFunction,argNames)
#define defineMemberFunctionSelectionTableDestructor(baseType, memberFunction, argNames)

Definition at line 164 of file memberFunctionSelectionTables.H.

#define defineTemplatedMemberFunctionSelectionTableMemberFunction (   baseType,
  memberFunction,
  argNames,
  Targ 
)
Value:
\
/* Table memberFunction called from the table add function */ \
void baseType<Targ>::construct##memberFunction##argNames## \
MemberFunctionTables() \
{ \
static bool constructed = false; \
if (!constructed) \
{ \
constructed = true; \
baseType<Targ>::memberFunction##argNames##MemberFunctionTablePtr_ \
= new baseType<Targ>::memberFunction##argNames## \
MemberFunctionTable; \
} \
}

Definition at line 183 of file memberFunctionSelectionTables.H.

#define defineTemplatedMemberFunctionSelectionTableDestructor (   baseType,
  memberFunction,
  argNames,
  Targ 
)
Value:
\
/* 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 204 of file memberFunctionSelectionTables.H.

#define defineTemplatedMemberFunctionSelectionTablePtr (   baseType,
  memberFunction,
  argNames,
  Targ 
)
Value:
\
/* Define the memberFunction table */ \
baseType<Targ>::memberFunction##argNames##MemberFunctionTable* \
baseType<Targ>::memberFunction##argNames##MemberFunctionTablePtr_ = NULL

Definition at line 227 of file memberFunctionSelectionTables.H.

#define defineTemplatedMemberFunctionSelectionTable (   baseType,
  memberFunction,
  argNames,
  Targ 
)
Value:
\
template<> \
defineTemplatedMemberFunctionSelectionTablePtr \
(baseType,memberFunction,argNames,Targ); \
template<> \
defineTemplatedMemberFunctionSelectionTableMemberFunction \
(baseType,memberFunction,argNames,Targ) \
template<> \
(baseType,memberFunction,argNames,Targ)
#define defineTemplatedMemberFunctionSelectionTableDestructor(baseType, memberFunction, argNames, Targ)

Definition at line 239 of file memberFunctionSelectionTables.H.