OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

addToRunTimeSelectionTable.H File Reference

Macros for easy insertion into run-time selection tables. More...

Go to the source code of this file.


Defines

#define addToRunTimeSelectionTable
#define addNamedToRunTimeSelectionTable
#define addTemplateToRunTimeSelectionTable
#define addNamedTemplateToRunTimeSelectionTable
#define addTemplatedToRunTimeSelectionTable
#define addNamedTemplatedToRunTimeSelectionTable

Detailed Description

Macros for easy insertion into run-time selection tables.

Original source file addToRunTimeSelectionTable.H

InClass Foam::runTimeSelectionTables

Definition in file addToRunTimeSelectionTable.H.


Define Documentation

#define addToRunTimeSelectionTable

Value:

(baseType,thisType,argNames)                                                  \
                                                                              \
    /* Add the thisType constructor function to the table */                  \
    baseType::add##argNames##ConstructorToTable< thisType >                   \
        add##thisType##argNames##ConstructorTo##baseType##Table_

Definition at line 32 of file addToRunTimeSelectionTable.H.

#define addNamedToRunTimeSelectionTable

Value:

(baseType,thisType,argNames,lookup)                                           \
                                                                              \
    /* Add the thisType constructor function to the table, find by lookup */  \
    baseType::add##argNames##ConstructorToTable< thisType >                   \
        add_##lookup##_##thisType##argNames##ConstructorTo##baseType##Table_(#lookup)

Definition at line 41 of file addToRunTimeSelectionTable.H.

#define addTemplateToRunTimeSelectionTable

Value:

(baseType,thisType,Targ,argNames)                                             \
                                                                              \
    /* Add the thisType constructor function to the table */                  \
    baseType::add##argNames##ConstructorToTable< thisType< Targ > >           \
        add##thisType##Targ##argNames##ConstructorTo##baseType##Table_

Definition at line 53 of file addToRunTimeSelectionTable.H.

#define addNamedTemplateToRunTimeSelectionTable

Value:

(baseType,thisType,Targ,argNames,lookup)                                      \
                                                                              \
    /* Add the thisType constructor function to the table, find by lookup */  \
    baseType::add##argNames##ConstructorToTable< thisType< Targ > >           \
        add_##lookup##_##thisType##Targ##argNames##ConstructorTo##baseType##Table_(#lookup)

Definition at line 63 of file addToRunTimeSelectionTable.H.

#define addTemplatedToRunTimeSelectionTable

Value:

(baseType,thisType,Targ,argNames)                                             \
                                                                              \
    /* Add the thisType constructor function to the table */                  \
    baseType< Targ >::add##argNames##ConstructorToTable< thisType< Targ > >   \
        add##thisType##Targ##argNames##ConstructorTo##baseType##Targ##Table_

Definition at line 76 of file addToRunTimeSelectionTable.H.

#define addNamedTemplatedToRunTimeSelectionTable

Value:

(baseType,thisType,Targ,argNames,lookup)                                      \
                                                                              \
    /* Add the thisType constructor function to the table, find by lookup */  \
    baseType< Targ >::add##argNames##ConstructorToTable< thisType< Targ > >   \
        add_##lookup##_##thisType##Targ##argNames##ConstructorTo##baseType##Targ##Table_(#lookup)

Definition at line 86 of file addToRunTimeSelectionTable.H.

Copyright © 2000-2009 OpenCFD Ltd