EventAnalysis  1.3.0
Functions
EA::Demangler Namespace Reference

Functions

std::string Demangle (const std::string &name)
 A simple name demangler. More...
 
template<class T >
std::string ClassName (const T &obj)
 Function which returns the name of the class. More...
 
template<class T >
std::string ClassName ()
 Function which returns the name of the class. More...
 
std::string ClassName (const std::type_info &typeInfo)
 Function which returns the name of the class. More...
 

Function Documentation

◆ ClassName() [1/3]

template<class T >
std::string EA::Demangler::ClassName ( const T &  obj)

Function which returns the name of the class.

Parameters
objThe object from which the class name is extracted.
Returns
the name of the class of the given object.

◆ ClassName() [2/3]

template<class T >
std::string EA::Demangler::ClassName ( )

Function which returns the name of the class.

Overload to be used with explicit template specification, to extract the name of a class without a concrete instance of it.

Returns
the name of the class.

◆ ClassName() [3/3]

std::string EA::Demangler::ClassName ( const std::type_info &  typeInfo)

Function which returns the name of the class.

Overload to be used with the type_info of the class

Returns
the name of the class.

◆ Demangle()

std::string EA::Demangler::Demangle ( const std::string &  name)

A simple name demangler.

Parameters
nameThe symbol name to be demangled.
Returns
The demangled name. Eventual inline namespaces will be removed.