Class that holds type information for debugging purposes. Returned by type_info_of(). More...
#include <type_info.h>
Public Member Functions | |
| type_info_ct (void) | |
| Default constructor. | |
| type_info_ct (int) | |
| Constructor used for unknown_type_info_c. | |
| void | init (char const *type_encoding, size_t s, size_t rs) |
| Construct a type_info_ct object for a type (T) with encoding type_encoding, size s and size of reference rs. | |
| char const * | demangled_name (void) const |
| The demangled type name. | |
| char const * | name (void) const |
The encoded type name (as returned by typeid(T).name()). | |
| size_t | size (void) const |
| sizeof(T). | |
| size_t | ref_size (void) const |
| sizeof(*T) or 0 when T is not a pointer. | |
Protected Attributes | |
| size_t | M_type_size |
| sizeof(T). | |
| size_t | M_type_ref_size |
| sizeof(*T) or 0 when T is not a pointer. | |
| char const * | M_name |
| Encoded type of T (as returned by typeid(T).name()). | |
| char const * | M_dem_name |
| Demangled type name of T. | |
Class that holds type information for debugging purposes. Returned by type_info_of().