10#include "Teuchos_VerboseObject.hpp" 
   20RCP<FancyOStream>& VerboseObjectBase::privateDefaultOStream()
 
   22  static RCP<FancyOStream> defaultOStream;
 
   23  if (defaultOStream.get()==NULL) {
 
   24    defaultOStream = fancyOStream(rcpFromRef(std::cout));
 
   25    defaultOStream->setOutputToRootOnly(0);
 
   29  return defaultOStream;
 
   47  return privateDefaultOStream();
 
 
   62  : thisOverridingOStream_(null)
 
 
   90  thisOverridingOStream_ = 
oStream;
 
 
  111  if(!
is_null(thisOverridingOStream_))
 
  112    return thisOverridingOStream_;
 
 
  122  return thisOverridingOStream_;
 
 
  128  return thisLinePrefix_;
 
 
A MPI utilities class, providing methods for initializing, finalizing, and querying the global MPI se...
 
Smart reference counting pointer class for automatic garbage collection.
 
Non-templated base class for objects that can print their activities to a stream.
 
virtual RCP< FancyOStream > getOStream() const
Return the output stream to be used for out for *this object.
 
virtual ~VerboseObjectBase()
 
void initializeVerboseObjectBase(const RCP< FancyOStream > &oStream=Teuchos::null)
Calls initializeVerboseObject().
 
VerboseObjectBase(const RCP< FancyOStream > &oStream=Teuchos::null)
Calls initializeVerboseObject().
 
virtual std::string getLinePrefix() const
Get the line prefix for this object.
 
virtual OSTab getOSTab(const int tabs=1, const std::string &linePrefix="") const
Create a tab object which sets the number of tabs and optionally the line prefix.
 
virtual void informUpdatedVerbosityState() const
Function that is called whenever the verbosity state is updated.
 
virtual VerboseObjectBase & setLinePrefix(const std::string &linePrefix)
Set line prefix name for this object.
 
virtual const VerboseObjectBase & setOStream(const RCP< FancyOStream > &oStream) const
The output stream for *this object.
 
static void setDefaultOStream(const RCP< FancyOStream > &defaultOStream)
Set the default output stream object.
 
static RCP< FancyOStream > getDefaultOStream()
Get the default output stream object.
 
virtual RCP< FancyOStream > getOverridingOStream() const
Return the the overriding output stream if set.
 
virtual const VerboseObjectBase & setOverridingOStream(const RCP< FancyOStream > &oStream) const
Set the overriding the output stream for *this object.
 
Tabbing class for helping to create formated, indented output for a basic_FancyOStream object.
 
bool is_null(const std::shared_ptr< T > &p)
Returns true if p.get()==NULL.
 
basic_OSTab< char > OSTab
 
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...