42 #ifndef TEUCHOS_DESCRIBABLE_HPP 43 #define TEUCHOS_DESCRIBABLE_HPP 46 #include "Teuchos_FancyOStream.hpp" 47 #include "Teuchos_LabeledObject.hpp" 95 virtual std::string description()
const;
163 describe (std::ostream &out,
175 struct DescribableStreamManipulatorState {
178 DescribableStreamManipulatorState(
182 :describable(_describable)
183 ,verbLevel(_verbLevel)
214 return DescribableStreamManipulatorState(describable,verbLevel);
246 std::ostream& os,
const DescribableStreamManipulatorState& d
249 d.describable.describe(*getFancyOStream(
Teuchos::rcp(&os,
false)),d.verbLevel);
282 #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().
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
Base class for all objects that can describe themselves.
DescribableStreamManipulatorState describe(const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
Describable output stream manipulator.