10#ifndef MUELU_DESCRIBABLE_HPP
11#define MUELU_DESCRIBABLE_HPP
20 Teuchos::RCP<Teuchos::FancyOStream> out = rcp(&out_arg,
false);
21 Teuchos::OSTab tab(out);
26 std::string str = Teuchos::Describable::description();
29 size_t found = str.find_first_of(
"<");
30 if (found != std::string::npos)
31 return str.substr(0, found);
40 std::string str = Teuchos::Describable::description();
44 size_t found = str.find_first_of(
"<");
45 if (found != std::string::npos)
46 str = str.substr(0, found);
51 size_t found = str.find_last_of(
":");
52 if (found != std::string::npos)
53 str = str.substr(found + 1);
62#define MUELU_DESCRIBABLE_SHORT
virtual std::string ShortClassName() const
Return the class name of the object, without template parameters and without namespace.
std::string shortClassName_
virtual ~Describable()
Destructor.
virtual std::string description() const
Return a simple one-line description of this object.
virtual void describe(Teuchos::FancyOStream &out_arg, const VerbLevel verbLevel=Default) const
Namespace for MueLu classes and methods.
VerbLevel toMueLuVerbLevel(const Teuchos::EVerbosityLevel verbLevel)
Translate Teuchos verbosity level to MueLu verbosity level.