FreeFOAM The Cross-Platform CFD Toolkit
runTimeSelectionTables.H File Reference

Detailed Description

Definition in file runTimeSelectionTables.H.

+ Include dependency graph for runTimeSelectionTables.H:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define declareRunTimeSelectionTable(autoPtr, baseType, argNames, argList, parList)
#define declareRunTimeNewSelectionTable(autoPtr, baseType, argNames, argList, parList)
#define defineRunTimeSelectionTableConstructor(baseType, argNames)
#define defineRunTimeSelectionTableDestructor(baseType, argNames)
#define defineRunTimeSelectionTablePtr(baseType, argNames)
#define defineTemplateRunTimeSelectionTablePtr(baseType, argNames)
#define defineRunTimeSelectionTable(baseType, argNames)
#define defineTemplateRunTimeSelectionTable(baseType, argNames)
#define defineTemplatedRunTimeSelectionTableConstructor(baseType, argNames, Targ)
#define defineTemplatedRunTimeSelectionTableDestructor(baseType, argNames, Targ)
#define defineTemplatedRunTimeSelectionTablePtr(baseType, argNames, Targ)
#define defineTemplatedRunTimeSelectionTable(baseType, argNames, Targ)

Macro Definition Documentation

#define declareRunTimeSelectionTable (   autoPtr,
  baseType,
  argNames,
  argList,
  parList 
)

Definition at line 52 of file runTimeSelectionTables.H.

#define declareRunTimeNewSelectionTable (   autoPtr,
  baseType,
  argNames,
  argList,
  parList 
)

Definition at line 101 of file runTimeSelectionTables.H.

#define defineRunTimeSelectionTableConstructor (   baseType,
  argNames 
)
Value:
\
/* Table constructor called from the table add function */ \
void baseType::construct##argNames##ConstructorTables() \
{ \
static bool constructed = false; \
if (!constructed) \
{ \
baseType::argNames##ConstructorTablePtr_ \
= new baseType::argNames##ConstructorTable; \
\
constructed = true; \
} \
}

Definition at line 153 of file runTimeSelectionTables.H.

#define defineRunTimeSelectionTableDestructor (   baseType,
  argNames 
)
Value:
\
/* Table destructor called from the table add function destructor */ \
void baseType::destroy##argNames##ConstructorTables() \
{ \
if (baseType::argNames##ConstructorTablePtr_) \
{ \
delete baseType::argNames##ConstructorTablePtr_; \
baseType::argNames##ConstructorTablePtr_ = NULL; \
} \
}

Definition at line 173 of file runTimeSelectionTables.H.

#define defineRunTimeSelectionTablePtr (   baseType,
  argNames 
)
Value:
\
/* Define the constructor function table */ \
baseType::argNames##ConstructorTable* \
baseType::argNames##ConstructorTablePtr_ = NULL

Definition at line 189 of file runTimeSelectionTables.H.

#define defineTemplateRunTimeSelectionTablePtr (   baseType,
  argNames 
)
Value:
\
/* Define the constructor function table */ \
typename baseType::argNames##ConstructorTable* \
baseType::argNames##ConstructorTablePtr_ = NULL

Definition at line 198 of file runTimeSelectionTables.H.

#define defineRunTimeSelectionTable (   baseType,
  argNames 
)
Value:
\
defineRunTimeSelectionTablePtr(baseType,argNames); \
defineRunTimeSelectionTableConstructor(baseType,argNames); \
defineRunTimeSelectionTableDestructor(baseType,argNames)

Definition at line 211 of file runTimeSelectionTables.H.

#define defineTemplateRunTimeSelectionTable (   baseType,
  argNames 
)
#define defineTemplatedRunTimeSelectionTableConstructor (   baseType,
  argNames,
  Targ 
)
Value:
\
/* Table constructor called from the table add function */ \
void baseType< Targ >::construct##argNames##ConstructorTables() \
{ \
static bool constructed = false; \
if (!constructed) \
{ \
baseType< Targ >::argNames##ConstructorTablePtr_ \
= new baseType< Targ >::argNames##ConstructorTable; \
\
constructed = true; \
} \
}

Definition at line 240 of file runTimeSelectionTables.H.

#define defineTemplatedRunTimeSelectionTableDestructor (   baseType,
  argNames,
  Targ 
)
Value:
\
/* Table destructor called from the table add function destructor */ \
void baseType< Targ >::destroy##argNames##ConstructorTables() \
{ \
if (baseType< Targ >::argNames##ConstructorTablePtr_) \
{ \
delete baseType< Targ >::argNames##ConstructorTablePtr_; \
baseType< Targ >::argNames##ConstructorTablePtr_ = NULL; \
} \
}

Definition at line 261 of file runTimeSelectionTables.H.

#define defineTemplatedRunTimeSelectionTablePtr (   baseType,
  argNames,
  Targ 
)
Value:
\
/* Define the constructor function table */ \
baseType< Targ >::argNames##ConstructorTable* \
baseType< Targ >::argNames##ConstructorTablePtr_ = NULL

Definition at line 278 of file runTimeSelectionTables.H.

#define defineTemplatedRunTimeSelectionTable (   baseType,
  argNames,
  Targ 
)