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 registerOptSwitch(Name, Type, SwitchVar)
 
#define registerInfoSwitch(Name, Type, SwitchVar)
 

Detailed Description

Original source file registerSwitch.H

Definition in file registerSwitch.H.

Macro Definition Documentation

◆ registerOptSwitch

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

Definition at line 91 of file registerSwitch.H.

◆ registerInfoSwitch

#define registerInfoSwitch (   Name,
  Type,
  SwitchVar 
)
Value:
(Foam::debug::addInfoObject, Name, SwitchVar)

Definition at line 96 of file registerSwitch.H.

FILE_UNIQUE
#define FILE_UNIQUE(x)
Generate an identifier unique within the file in which it is generated.
Definition: macros.H:54
Foam::RegisterSwitch
Class and registration macros for InfoSwitches and OptimisationSwitches to support reading from syste...
Definition: registerSwitch.H:51
Foam::debug::addInfoObject
void addInfoObject(const char *name, simpleRegIOobject *obj)
Register info switch read/write object.
Definition: debug.C:255
Foam::debug::addOptimisationObject
void addOptimisationObject(const char *name, simpleRegIOobject *obj)
Register optimisation switch read/write object.
Definition: debug.C:262