#include <Teuchos_VerboseObject.hpp>
Inheritance diagram for Teuchos::VerboseObjectBase:

Public Member Functions | |
Constructors/Initializers | |
| virtual | ~VerboseObjectBase () |
| | |
| VerboseObjectBase (const RefCountPtr< FancyOStream > &oStream=Teuchos::null) | |
Calls initializeVerboseObject(). | |
| virtual void | initializeVerboseObjectBase (const RefCountPtr< FancyOStream > &oStream=Teuchos::null) |
Calls initializeVerboseObject(). | |
| virtual const VerboseObjectBase & | setOStream (const RefCountPtr< FancyOStream > &oStream) const |
Override the output stream for *this object. | |
| virtual VerboseObjectBase & | setLinePrefix (const std::string &linePrefix) |
| Set line prefix name for this object. | |
Query functions | |
| virtual RefCountPtr< FancyOStream > | getOStream () const |
| Return the output stream to be used. | |
| virtual std::string | getLinePrefix () const |
| Get the line prefix for this object. | |
Utilities | |
| 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. | |
Static Public Member Functions | |
Public static member functions | |
| void | setDefaultOStream (const RefCountPtr< FancyOStream > &defaultOStream) |
| Set the default output stream object. | |
| RefCountPtr< FancyOStream > | getDefaultOStream () |
| Get the default output stream object. | |
Objects that derive from this interface print to a default class-owned (i.e. static) output stream object (set using setDefaultOStream()) or the output stream can be set on an object-by-object basis using setOStream().
The output stream type is FancyOStream which allows for automated indentation (using the OSTab class) and has other useful features.
Definition at line 51 of file Teuchos_VerboseObject.hpp.
|
|
Definition at line 73 of file Teuchos_VerboseObject.hpp. |
|
|
Calls
Definition at line 63 of file Teuchos_VerboseObject.cpp. |
|
|
Set the default output stream object.
If this function is not called, then a default stream based on Definition at line 50 of file Teuchos_VerboseObject.cpp. |
|
|
Get the default output stream object.
Definition at line 56 of file Teuchos_VerboseObject.cpp. |
|
|
Calls
Definition at line 70 of file Teuchos_VerboseObject.cpp. |
|
|
Override the output stream for
Definition at line 77 of file Teuchos_VerboseObject.cpp. |
|
|
Set line prefix name for this object.
Definition at line 83 of file Teuchos_VerboseObject.cpp. |
|
|
Return the output stream to be used.
If Definition at line 92 of file Teuchos_VerboseObject.cpp. |
|
|
Get the line prefix for this object.
Definition at line 99 of file Teuchos_VerboseObject.cpp. |
|
||||||||||||
|
Create a tab object which sets the number of tabs and optionally the line prefix.
OSTab object is destroyed at the end of the block of code.
Returns Definition at line 106 of file Teuchos_VerboseObject.cpp. |
1.3.9.1