7 #ifndef __FWCORE_DEMANGLER_HPP__ 8 #define __FWCORE_DEMANGLER_HPP__ 10 #include "fwCore/config.hpp" 36 FWCORE_API
Demangler(
const std::type_info& t);
43 FWCORE_API Demangler(
const std::string& s);
51 m_name(typeid(s).name())
58 FWCORE_API
virtual ~Demangler();
67 FWCORE_API std::string getLeafClassname()
const;
74 FWCORE_API std::string getClassname()
const;
87 std::string demangle()
const;
123 inline std::string getLeafClassname()
130 inline std::string getClassname()
138 #endif // __FWCORE_DEMANGLER_HPP__ This namespace fwCore provides common foundations for FW4SPL.
Type demangler. Use Demangler class to get a demangled string for the type T.
TypeDemangler()
Constructor.
Demangler(T &s)
Constructor from any type.
const std::string m_name
Store the name to demangle.
typeid, string or object name demangler.