Whole document tree
    

Whole document tree

std::type_info class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::type_info Class Reference

Used in RTTI. More...

List of all members.

Public Methods

virtual ~type_info ()
const char * name () const
bool before (const type_info &arg) const
bool operator== (const type_info &__arg) const
bool operator!= (const type_info &__arg) const
virtual bool __is_pointer_p () const
virtual bool __is_function_p () const
virtual bool __do_catch (const type_info *__thr_type, void **__thr_obj, unsigned __outer) const
virtual bool __do_upcast (const __cxxabiv1::__class_type_info *__target, void **__obj_ptr) const

Protected Methods

 type_info (const char *__n)

Protected Attributes

const char * __name

Private Methods

type_info & operator= (const type_info &)
 Assigning type_info is not supported. Made private. More...

 type_info (const type_info &)


Detailed Description

Used in RTTI.

The type_info class describes type information generated by an implementation.

Definition at line 59 of file typeinfo.


Constructor & Destructor Documentation

std::type_info::~type_info   [virtual]
 

Destructor. Being the first non-inline virtual function, this controls in which translation unit the vtable is emitted. The compiler makes use of that information to know where to emit the runtime-mandated type_info structures in the new-abi.

Definition at line 39 of file tinfo.cc.

std::type_info::type_info const type_info &    [private]
 

std::type_info::type_info const char *    __n [inline, explicit, protected]
 

Definition at line 77 of file typeinfo.

References __name.


Member Function Documentation

bool std::type_info::__do_catch const type_info *    __thr_type,
void **    __thr_obj,
unsigned    __outer
const [virtual]
 

Definition at line 74 of file tinfo.cc.

Referenced by check_exception_spec(), and PERSONALITY_FUNCTION().

virtual bool std::type_info::__do_upcast const __cxxabiv1::__class_type_info *    __target,
void **    __obj_ptr
const [virtual]
 

bool std::type_info::__is_function_p   const [virtual]
 

Definition at line 67 of file tinfo.cc.

bool std::type_info::__is_pointer_p   const [virtual]
 

Definition at line 60 of file tinfo.cc.

Referenced by PERSONALITY_FUNCTION().

bool type_info::before const type_info &    arg const
 

Definition at line 44 of file tinfo2.cc.

References std::arg(), and name().

const char* std::type_info::name   const [inline]
 

Returns an implementation-defined byte string; this is not portable between compilers!

Definition at line 83 of file typeinfo.

References __name.

Referenced by before(), and operator==().

bool std::type_info::operator!= const type_info &    __arg const [inline]
 

Definition at line 102 of file typeinfo.

References operator==().

type_info& std::type_info::operator= const type_info &    [private]
 

Assigning type_info is not supported. Made private.

bool std::type_info::operator== const type_info &    __arg const
 

Definition at line 49 of file tinfo.cc.

References std::arg(), and name().

Referenced by operator!=().


Member Data Documentation

const char* std::type_info::__name [protected]
 

Definition at line 74 of file typeinfo.

Referenced by name(), and type_info().


The documentation for this class was generated from the following files:
Generated on Mon Apr 8 03:19:38 2002 for libstdc++-v3 Source by doxygen1.2.15