10 #include "Teuchos_Describable.hpp"
23 std::ostringstream oss;
24 if (objectLabel.length ()) {
25 oss <<
"\"" << objectLabel <<
"\": ";
45 this->
describe (*fancyOut, verbLevel);
virtual ~Describable()
Destructor (marked virtual for memory safety of derived classes).
virtual std::string getObjectLabel() const
Get the object label (see LabeledObject).
Generate output as defined by the object.
EVerbosityLevel
Verbosity level.
Tabbing class for helping to create formated, indented output for a basic_FancyOStream object...
std::ostream subclass that performs the magic of indenting data sent to an std::ostream object among ...
virtual std::string description() const
Return a simple one-line description of this object.
static const EVerbosityLevel verbLevel_default
Default value for the verbLevel argument of describe().
Smart reference counting pointer class for automatic garbage collection.
Defines basic traits returning the name of a type in a portable and readable way. ...
virtual void describe(FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
Print the object with some verbosity level to a FancyOStream.
std::string typeName(const T &t)
Template function for returning the concrete type name of a passed-in object.