Teuchos - Trilinos Tools Package
Version of the Day
|
Macros | |
#define | TEUCHOS_CWRAPPER_TRY(IERR) |
Define a try block. More... | |
#define | TEUCHOS_CWRAPPER_CATCH_ERROR_CODE(IERR) |
Define the catch blocks and set the error code. More... | |
#define | TEUCHOS_CWRAPPER_SET_ERROR_CODE(IERR, IERR_VALUE) |
Set the error code. More... | |
Functions | |
static void | Teuchos::CWrapperErrorHandling::setPrintErrorOStream (const RCP< FancyOStream > &errorOStream) |
Set the ostream that will be printed to when errors occur. More... | |
static RCP< FancyOStream > | Teuchos::CWrapperErrorHandling::getPrintErrorOStream () |
Get the ostream that will be printed when errors occur. More... | |
#define TEUCHOS_CWRAPPER_TRY | ( | IERR | ) |
Define a try block.
Definition at line 65 of file Teuchos_CWrapperSupport_Cpp.hpp.
#define TEUCHOS_CWRAPPER_CATCH_ERROR_CODE | ( | IERR | ) |
Define the catch blocks and set the error code.
Definition at line 78 of file Teuchos_CWrapperSupport_Cpp.hpp.
#define TEUCHOS_CWRAPPER_SET_ERROR_CODE | ( | IERR, | |
IERR_VALUE | |||
) |
Set the error code.
This function is to be used inside of the try/catch blocks to set the error code.
Definition at line 95 of file Teuchos_CWrapperSupport_Cpp.hpp.
|
static |
Set the ostream that will be printed to when errors occur.
Definition at line 45 of file Teuchos_CWrapperSupport.cpp.
|
static |
Get the ostream that will be printed when errors occur.
Definition at line 53 of file Teuchos_CWrapperSupport.cpp.