Loading...
Searching...
No Matches
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

namespace  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:
Class and registration macros for InfoSwitches and OptimisationSwitches to support reading from syste...
static Foam::RegisterSwitch< int > FILE_UNIQUE _addToOpt_(Foam::debug::addOptimisationObject, "ensight.maxChunk", Foam::ensightOutput::maxChunk_)
#define FILE_UNIQUE(x)
Generate an identifier unique within the file in which it is generated.
Definition macros.H:58
void addOptimisationObject(const char *name, simpleRegIOobject *obj)
Register optimisation switch read/write object.
Definition debug.C:259

Definition at line 87 of file registerSwitch.H.

◆ registerInfoSwitch

#define registerInfoSwitch ( Name,
Type,
SwitchVar )
Value:
(Foam::debug::addInfoObject, Name, SwitchVar)
void addInfoObject(const char *name, simpleRegIOobject *obj)
Register info switch read/write object.
Definition debug.C:252

Definition at line 92 of file registerSwitch.H.