26 template <
class T>
static std::string
ClassName(
const T &obj) {
28 char *demangled = abi::__cxa_demangle(
typeid(obj).name(), NULL, NULL, &result);
33 std::string retValue(demangled);
48 char *demangled = abi::__cxa_demangle(
typeid(T).name(), NULL, NULL, &result);
53 std::string retValue(demangled);
65 static std::string
ClassName(
const std::type_info &typeInfo) {
67 char *demangled = abi::__cxa_demangle(typeInfo.name(), NULL, NULL, &result);
72 std::string retValue(demangled);
static std::string ClassName()
Static method which returns the name of the class.
Definition: Demangler.h:46
IncludeFileExc.h IncludeFileExc class declaration.
Definition: Algorithm.h:21
static std::string ClassName(const T &obj)
Static method which returns the name of the class.
Definition: Demangler.h:26
A simple name demangler.
Definition: Demangler.h:18
static std::string ClassName(const std::type_info &typeInfo)
Static method which returns the name of the class.
Definition: Demangler.h:65