libcwd: The C++ Debugging Support Library - Reference Manual
Author: Carlo Wood
Description: C++ debugging support library with ostream debug output
Keywords: libcwd, debug output, debug facility, debug channel, object orientation, OO, C++, nested debug output, ostream, memory allocation, debugging, source file and line number

Main Page Reference Manual Namespace List Compound List Namespace Members Compound Members File Members

# libcwd::type_info_ct Class Reference
[Getting Type Information Of Types And Symbols]

Class that holds type information for debugging purposes. Returned by type_info_of(). More...

`#include <type_info.h>`

List of all members.

## 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.

## Detailed Description

Class that holds type information for debugging purposes. Returned by type_info_of().