std::type_info Class Reference

Part of RTTI. More...

List of all members.

Public Member Functions

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 Member Functions

 type_info (const char *__n)

Protected Attributes

const char * __name

Private Member Functions

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


Detailed Description

Part of RTTI.

The type_info class describes type information generated by an implementation.

Definition at line 67 of file typeinfo.


Constructor & Destructor Documentation

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

std::type_info::type_info ( const type_info  )  [private]

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

Definition at line 85 of file typeinfo.


Member Function Documentation

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

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

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

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

bool std::type_info::before ( const type_info __arg  )  const

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

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

Definition at line 91 of file typeinfo.

References __name.

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

Definition at line 110 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

Referenced by operator!=().


Member Data Documentation

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

Definition at line 82 of file typeinfo.

Referenced by name().


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:59:32 2010 for GNU C++ STL by  doxygen 1.4.7