63template<
class Err,
class T>
90inline Ostream&
operator<<(Ostream&
os, errorManip<Err> m)
101template<
class Err,
class T>
104 void (Err::*fPtr_)(
const T);
121template<
class Err,
class T>
124 (m.err_.*m.fPtr_)(m.arg_);
131inline errorManipArg<error, int>
138inline errorManipArg<IOerror, int>
145inline errorManip<error>
152inline errorManip<IOerror>
void exit(const int errNo=1)
Exit : can be called for any error to exit program.
void abort()
Abort : used to stop code for fatal errors.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Error stream manipulators for functions with an argument.
friend Ostream & operator(Ostream &os, errorManipArg< Err, T > m)
errorManipArg(void(Err::*fPtr)(const T), Err &t, const T i)
Error stream manipulators for exit and abort which may terminate the program or throw an exception de...
errorManip(void(Err::*fPtr)(), Err &t)
Class to handle errors and exceptions in a simple, consistent stream-based manner.
void exit(const int errNo=1)
Exit : can be called for any error to exit program.
void abort()
Abort : used to stop code for fatal errors.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
errorManip< error > abort(error &err)
errorManipArg< error, int > exit(error &err, const int errNo=1)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)