52 if (
is_null(printErrorOStream)) {
55 return printErrorOStream;
59bool& 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 void setShowStackTraceOnException(const bool showStrackTraceOnException)
Set if the stacktrace should be shown on every caught exception.
static bool getShowStackTraceOnException()
Get if the stacktrace should be shown on every caught exception.
Smart reference counting pointer class for automatic garbage collection.
static RCP< FancyOStream > getDefaultOStream()
Get the default output stream object.
static RCP< FancyOStream > getPrintErrorOStream()
Get the ostream that will be printed when errors occur.
static void setPrintErrorOStream(const RCP< FancyOStream > &errorOStream)
Set the ostream that will be printed to when errors occur.
bool is_null(const boost::shared_ptr< T > &p)
Returns true if p.get()==NULL.