33 #ifndef registerSwitch_H 34 #define registerSwitch_H 89 #define registerOptSwitch(Name, Type, Switch) \ 90 static Foam::RegisterSwitch<Type> FILE_UNIQUE(_addToOpt_) \ 91 (Foam::debug::addOptimisationObject, Name, Switch) 94 #define registerInfoSwitch(Name, Type, Switch) \ 95 static Foam::RegisterSwitch<Type> FILE_UNIQUE(_addToOpt_) \ 96 (Foam::debug::addInfoObject, Name, Switch) Abstract base class for registered object with I/O. Used in debug symbol registration.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
virtual void readData(Foam::Istream &is)
Read.
virtual void writeData(Foam::Ostream &os) const
Write.
RegisterSwitch(void(*registryFn)(const char *name, simpleRegIOobject *), const char *name, Type &optSwitch)
General C-preprocessor macros.
Class and registration macros for InfoSwitches and OptimisationSwitches to support reading from syste...
virtual ~RegisterSwitch()
An Ostream is an abstract base class for all output systems (streams, files, token lists...
word name(const complex &)
Return a string representation of a complex.