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,
175struct DescribableStreamManipulatorState {
178 DescribableStreamManipulatorState(
214 return DescribableStreamManipulatorState(describable,verbLevel);
246 std::ostream& os,
const DescribableStreamManipulatorState& d
249 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.