errorManip< Err > Class Template Reference
Error stream manipulators for exit and abort which may terminate the program or throw an exception depending if the exception handling has been switched on (off by default).
More...
List of all members.
Detailed Description
template<class Err>
class Foam::errorManip< Err >
Error stream manipulators for exit and abort which may terminate the program or throw an exception depending if the exception handling has been switched on (off by default).
- Usage
error << "message1" << "message2" << FoamDataType << exit(error, errNo);
error << "message1" << "message2" << FoamDataType << abort(error);
Definition at line 57 of file errorManip.H.
Constructor & Destructor Documentation
| errorManip |
( |
void(Err::*)() |
fPtr, |
|
|
Err & |
t | |
|
) |
| | [inline] |
Friends And Related Function Documentation
The documentation for this class was generated from the following file:
Copyright © 2000-2009 OpenCFD Ltd