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,
143 struct DescribableStreamManipulatorState {
146 DescribableStreamManipulatorState(
150 :describable(_describable)
151 ,verbLevel(_verbLevel)
182 return DescribableStreamManipulatorState(describable,verbLevel);
214 std::ostream& os,
const DescribableStreamManipulatorState& d
217 d.describable.describe(*getFancyOStream(
Teuchos::rcp(&os,
false)),d.verbLevel);
250 #endif // TEUCHOS_DESCRIBABLE_HPP
Base class for objects that contain a std::string label.
EVerbosityLevel
Verbosity level.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Deprecated.
std::ostream subclass that performs the magic of indenting data sent to an std::ostream object among ...
std::ostream & operator<<(std::ostream &os, const DescribableStreamManipulatorState &d)
Output stream operator for Describable manipulator.
static const EVerbosityLevel verbLevel_default
Default value for the verbLevel argument of describe().
Base class for all objects that can describe themselves.
DescribableStreamManipulatorState describe(const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
Describable output stream manipulator.