10#ifndef TEUCHOS_DESCRIBABLE_HPP
11#define TEUCHOS_DESCRIBABLE_HPP
14#include "Teuchos_FancyOStream.hpp"
15#include "Teuchos_LabeledObject.hpp"
63 virtual std::string description()
const;
131 describe (std::ostream &out,
143struct DescribableStreamManipulatorState {
146 DescribableStreamManipulatorState(
182 return DescribableStreamManipulatorState(describable,verbLevel);
214 std::ostream& os,
const DescribableStreamManipulatorState& d
217 d.describable.describe(*getFancyOStream(
Teuchos::rcp(&os,
false)),d.verbLevel);
Base class for all objects that can describe themselves.
static const EVerbosityLevel verbLevel_default
Default value for the verbLevel argument of describe().
std::ostream & operator<<(std::ostream &os, const DescribableStreamManipulatorState &d)
Output stream operator for Describable manipulator.
DescribableStreamManipulatorState describe(const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
Describable output stream manipulator.
Base class for objects that contain a std::string label.
Smart reference counting pointer class for automatic garbage collection.
std::ostream subclass that performs the magic of indenting data sent to an std::ostream object among ...
EVerbosityLevel
Verbosity level.
@ VERB_MEDIUM
Generate more output.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.