Data Structures | 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.

Data Structures

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

◆ CONCAT

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

Definition at line 87 of file registerSwitch.H.

◆ CONCAT2

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

Definition at line 88 of file registerSwitch.H.

◆ FILE_UNIQUE

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

Definition at line 89 of file registerSwitch.H.

◆ registerOptSwitch

#define registerOptSwitch (   Name,
  Type,
  Switch 
)
Value:

Definition at line 91 of file registerSwitch.H.

◆ registerInfoSwitch

#define registerInfoSwitch (   Name,
  Type,
  Switch 
)
Value:

Definition at line 96 of file registerSwitch.H.

FILE_UNIQUE
#define FILE_UNIQUE(x)
Definition: registerSwitch.H:89
Foam::RegisterSwitch
Class and registration macros for InfoSwitches and OptimisationSwitches to support reading from syste...
Definition: registerSwitch.H:47
Foam::debug::addInfoObject
void addInfoObject(const char *name, simpleRegIOobject *obj)
Register info switch read/write object.
Definition: debug.C:212
Foam::debug::addOptimisationObject
void addOptimisationObject(const char *name, simpleRegIOobject *obj)
Register optimisation switch read/write object.
Definition: debug.C:234