46 #ifndef MUELU_DESCRIBABLE_HPP 47 #define MUELU_DESCRIBABLE_HPP 65 size_t found = str.find_first_of(
"<");
66 if (found != std::string::npos)
67 return str.substr(0, found);
81 size_t found = str.find_first_of(
"<");
82 if (found != std::string::npos)
83 str = str.substr(0, found);
88 size_t found = str.find_last_of(
":");
89 if (found != std::string::npos)
90 str = str.substr(found+1);
99 #define MUELU_DESCRIBABLE_SHORT 100 #endif // MUELU_DESCRIBABLE_HPP virtual std::string ShortClassName() const
Return the class name of the object, without template parameters and without namespace.
VerbLevel toMueLuVerbLevel(const Teuchos::EVerbosityLevel verbLevel)
Namespace for MueLu classes and methods.
virtual std::string description() const
virtual void describe(Teuchos::FancyOStream &out_arg, const VerbLevel verbLevel=Default) const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
std::string shortClassName_
virtual ~Describable()
Destructor.
virtual std::string description() const
Return a simple one-line description of this object.