|
Teuchos - Trilinos Tools Package
Version of the Day
|
42 #include "Teuchos_CWrapperSupport_Cpp.hpp"
43 #include "Teuchos_VerboseObject.hpp"
52 if (
is_null(printErrorOStream)) {
55 return printErrorOStream;
59 bool& showStackTraceOnExceptionImpl()
61 static bool showStackTraceOnException =
false;
62 return showStackTraceOnException;
81 printErrorOStreamImpl() = errorOStream;
87 return printErrorOStreamImpl();
92 const bool showStrackTraceOnException)
94 showStackTraceOnExceptionImpl() = showStrackTraceOnException;
100 return showStackTraceOnExceptionImpl();
static RCP< FancyOStream > getDefaultOStream()
Get the default output stream object.
bool is_null(const ArrayRCP< T > &p)
Returns true if p.get()==NULL.
static void setShowStackTraceOnException(const bool showStrackTraceOnException)
Set if the stacktrace should be shown on every caught exception.
Smart reference counting pointer class for automatic garbage collection.
static bool getShowStackTraceOnException()
Get if the stacktrace should be shown on every caught exception.
static void setPrintErrorOStream(const RCP< FancyOStream > &errorOStream)
Set the ostream that will be printed to when errors occur.
static RCP< FancyOStream > getPrintErrorOStream()
Get the ostream that will be printed when errors occur.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...