Retrieves human-readable names from C++ run-time type information.
This class is available only with debug-builds of ALib.
Module ALib Strings functor AppendableTraits<std::type_info,TChar,TAllocator> in debug-compilations, which internally makes use of this type. This allows appending the result of keyword typeid
directly to AString instances.
Definition at line 24 of file dbgtypedemangler.inl.
Public Method Index: | |
ALIB_DLL | DbgTypeDemangler (const std::type_info &typeInfo) |
ALIB_DLL | ~DbgTypeDemangler () |
Destructor. | |
ALIB_DLL const char * | Get () |
Protected Field Index: | |
bool | failed |
If true , demangling failed. | |
const char * | name |
The translated name. | |
|
protected |
If true
, demangling failed.
Definition at line 28 of file dbgtypedemangler.inl.
|
protected |
The translated name.
Definition at line 27 of file dbgtypedemangler.inl.
ALIB_DLL alib::lang::DbgTypeDemangler::DbgTypeDemangler | ( | const std::type_info & | typeInfo | ) |
Constructor
typeInfo | The information struct on the C++ type. |
ALIB_DLL const char * alib::lang::DbgTypeDemangler::Get | ( | ) |
Returns the demangled, human-readable name of the type which was provided in the constructor.