51 template<
class Err>
class errorManip;
52 template<
class Err> Ostream&
operator<<(Ostream&, errorManip<Err>);
54 template<
class Err,
class T>
class errorManipArg;
55 template<
class Err,
class T>
56 Ostream&
operator<<(Ostream&, errorManipArg<Err, T>);
94 template<
class Err,
class T>
97 void (Err::*fPtr_)(
const T);
114 template<
class Err,
class T>
117 (m.err_.*m.fPtr_)(m.arg_);
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,...
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
errorManip< error > abort(error &err)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)