Class and registration macros for InfoSwitches and OptimisationSwitches to support reading from system/controlDict and dynamic update. More...
Public Member Functions | |
RegisterSwitch (void(*registryFn)(const char *name, simpleRegIOobject *), const char *name, Type &switchVar) | |
virtual | ~RegisterSwitch ()=default |
virtual void | readData (Istream &is) |
virtual void | writeData (Ostream &os) const |
![]() | |
simpleRegIOobject (void(*fn)(const char *name, simpleRegIOobject *), const char *name) | |
virtual | ~simpleRegIOobject ()=default |
Public Attributes | |
Type & | value |
Class and registration macros for InfoSwitches and OptimisationSwitches to support reading from system/controlDict and dynamic update.
Definition at line 45 of file registerSwitch.H.
|
inline |
Definition at line 55 of file registerSwitch.H.
|
virtualdefault |
|
inlinevirtual |
Implements simpleRegIOobject.
Definition at line 67 of file registerSwitch.H.
References RegisterSwitch< Type >::value.
|
inlinevirtual |
Implements simpleRegIOobject.
Definition at line 72 of file registerSwitch.H.
References os(), and RegisterSwitch< Type >::value.
Type& value |
Definition at line 52 of file registerSwitch.H.
Referenced by RegisterSwitch< Type >::readData(), and RegisterSwitch< Type >::writeData().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.