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

Go to the source code of this file.

Classes

class  RegisterSwitch< Type >
 Class and registration macros for InfoSwitches and OptimisationSwitches to support reading from system/controlDict and dynamic update. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define CONCAT(x, y)   x ## y
 
#define CONCAT2(x, y)   CONCAT(x, y)
 
#define FILE_UNIQUE(x)   CONCAT2(x, __LINE__)
 
#define registerOptSwitch(Name, Type, Switch)
 
#define registerInfoSwitch(Name, Type, Switch)
 

Detailed Description

Original source file registerSwitch.H

Definition in file registerSwitch.H.

Macro Definition Documentation

#define CONCAT (   x,
  y 
)    x ## y

Definition at line 87 of file registerSwitch.H.

#define CONCAT2 (   x,
  y 
)    CONCAT(x, y)

Definition at line 88 of file registerSwitch.H.

#define FILE_UNIQUE (   x)    CONCAT2(x, __LINE__)

Definition at line 89 of file registerSwitch.H.

#define registerOptSwitch (   Name,
  Type,
  Switch 
)
Value:
Class and registration macros for InfoSwitches and OptimisationSwitches to support reading from syste...
#define FILE_UNIQUE(x)
void addOptimisationObject(const char *name, simpleRegIOobject *obj)
Register optimisation switch read/write object.
Definition: debug.C:236

Definition at line 91 of file registerSwitch.H.

#define registerInfoSwitch (   Name,
  Type,
  Switch 
)
Value:
void addInfoObject(const char *name, simpleRegIOobject *obj)
Register info switch read/write object.
Definition: debug.C:214
Class and registration macros for InfoSwitches and OptimisationSwitches to support reading from syste...
#define FILE_UNIQUE(x)

Definition at line 96 of file registerSwitch.H.