10 #ifndef MUELU_DESCRIBABLE_HPP
11 #define MUELU_DESCRIBABLE_HPP
29 size_t found = str.find_first_of(
"<");
30 if (found != std::string::npos)
31 return str.substr(0, found);
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
63 #endif // MUELU_DESCRIBABLE_HPP
virtual void describe(Teuchos::FancyOStream &out_arg, const VerbLevel verbLevel=Default) const
VerbLevel toMueLuVerbLevel(const Teuchos::EVerbosityLevel verbLevel)
Translate Teuchos verbosity level to MueLu verbosity level.
virtual std::string ShortClassName() const
Return the class name of the object, without template parameters and without namespace.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual std::string description() const
std::string shortClassName_
virtual ~Describable()
Destructor.
virtual std::string description() const
Return a simple one-line description of this object.