ALib C++ Framework
by
Library Version: 2511 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
alib::lang::DbgTypeDemangler Class Reference

Description:

Retrieves human-readable names from C++ run-time type information.
This class is available only with debug-builds of ALib.

With debug-builds, functor AppendableTraits<std::type_info, TChar, TAllocator> of the module ALib Strings, internally makes use of this type . This allows appending the result of keyword typeid directly to AString instances.

Definition at line 23 of file dbgtypedemangler.inl.

Public Method Index:

 DbgTypeDemangler (const std::type_info &typeInfo)
 ~DbgTypeDemangler ()
 Destructor.
const char * Get ()

Protected Field Index:

bool failed
 If true, demangling failed.
const char * name
 The translated name.

Field Details:

◆ failed

bool alib::lang::DbgTypeDemangler::failed
protected

If true, demangling failed.

Definition at line 27 of file dbgtypedemangler.inl.

◆ name

const char* alib::lang::DbgTypeDemangler::name
protected

The translated name.

Definition at line 26 of file dbgtypedemangler.inl.

Constructor(s) / Destructor Details:

◆ DbgTypeDemangler()

alib::lang::DbgTypeDemangler::DbgTypeDemangler ( const std::type_info & typeInfo)

Constructor

Parameters
typeInfoThe information struct on the C++ type.

Method Details:

◆ Get()

const char * alib::lang::DbgTypeDemangler::Get ( )

Returns the demangled, human-readable name of the type which was provided in the constructor.

Returns
The demangled type name.

The documentation for this class was generated from the following file: