10#include "Teuchos_Describable.hpp"
23 std::ostringstream oss;
24 if (objectLabel.length ()) {
25 oss <<
"\"" << objectLabel <<
"\": ";
45 this->
describe (*fancyOut, verbLevel);
Defines basic traits returning the name of a type in a portable and readable way.
static const EVerbosityLevel verbLevel_default
Default value for the verbLevel argument of describe().
virtual void describe(FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
Print the object with some verbosity level to a FancyOStream.
virtual ~Describable()
Destructor (marked virtual for memory safety of derived classes).
virtual std::string description() const
Return a simple one-line description of this object.
virtual std::string getObjectLabel() const
Get the object label (see LabeledObject).
Smart reference counting pointer class for automatic garbage collection.
RCP< T > rcpFromRef(T &r)
Return a non-owning weak RCP object from a raw object reference for a defined type.
std::string typeName(const T &t)
Template function for returning the concrete type name of a passed-in object.
basic_FancyOStream< char > FancyOStream
basic_OSTab< char > OSTab
EVerbosityLevel
Verbosity level.
@ VERB_DEFAULT
Generate output as defined by the object.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...