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

Public Member Functions | |
Constructors/Initializers | |
| VerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null) | |
Calls initializeVerboseObject(). | |
| virtual void | initializeVerboseObject (const EVerbosityLevel verbLevel=VERB_DEFAULT, const RCP< FancyOStream > &oStream=Teuchos::null) |
Calls initializeVerboseObject(). | |
| virtual const VerboseObject & | setVerbLevel (const EVerbosityLevel verbLevel) const |
Set the verbosity level for *this object. | |
| virtual const VerboseObject & | setOverridingVerbLevel (const EVerbosityLevel verbLevel) const |
Set the overriding verbosity level for *this object. | |
Query functions | |
| virtual EVerbosityLevel | getVerbLevel () const |
| Get the verbosity level. | |
Static Public Member Functions | |
Public static member functions | |
| void | setDefaultVerbLevel (const EVerbosityLevel defaultVerbLevel) |
| Set the default verbosity level. | |
| EVerbosityLevel | getDefaultVerbLevel () |
| Get the default verbosity level. | |
Related Functions | |
| (Note that these are not member functions.) | |
| RCP< const ParameterList > | getValidVerboseObjectSublist () |
| Return the sublist of valid parameters for the "VerboseObject" sublist. | |
| void | setupVerboseObjectSublist (ParameterList *paramList) |
| Setup a sublist called "VerboseObject" in the given parameter list. | |
| void | readVerboseObjectSublist (ParameterList *paramList, RCP< FancyOStream > *oStream, EVerbosityLevel *verbLevel) |
| Read the parameters in the "VerboseObject" sublist and set them on the given VerboseObject. | |
| void | readVerboseObjectSublist (ParameterList *paramList, VerboseObject< ObjectType > *verboseObject) |
| Read the parameters in the "VerboseObject" sublist and set them on the given VerboseObject. | |
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() . In addition, each object, by default, has a verbosity level that is shared by all objects (set using setDefaultVerbosityLevel()) or can be set on an object-by-object basis using setVerbLevel().
The output stream type is FancyOStream which allows for automated indentation (using the OSTab class) and has other useful features.
Note that setOStream() and setVerbLevel() are actually decalared as const functions. This is to allow a client to temporarily change the stream and verbosity level. To do this saftely, use the class VerboseObjectTempState which will revert the output state after it is destroyed.
|
||||||||||||||||
|
Calls
|
|
||||||||||
|
Set the default verbosity level.
If not called, then the default verbosity level is
|
|
|||||||||
|
Get the default verbosity level.
|
|
||||||||||||||||
|
Calls
|
|
||||||||||
|
Set the verbosity level for This function is supposed by called by general clients to set the output level according to some general logic in the code. |
|
||||||||||
|
Set the overriding verbosity level for
This function is supposed to be called by special clients that want to set the output level in a way that will not be overridden by |
|
|||||||||
|
Get the verbosity level.
|
|
|||||||||
|
Return the sublist of valid parameters for the "VerboseObject" sublist.
This function need not be directly called by clients since the function |
|
||||||||||
|
Setup a sublist called "VerboseObject" in the given parameter list.
|
|
||||||||||||||||||||
|
Read the parameters in the "VerboseObject" sublist and set them on the given VerboseObject.
|
|
||||||||||||||||
|
Read the parameters in the "VerboseObject" sublist and set them on the given VerboseObject.
readVerboseObjectSublist() to validate and and read the verbosity and output stream from the "VerboseObject" sublist. |
1.3.9.1