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]
Member Function Documentation
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]
bool std::type_info::__is_function_p
(
)
const [virtual]
bool std::type_info::__is_pointer_p
(
)
const [virtual]
bool 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 83 of file typeinfo .
References __name .
Referenced by before (), and operator== ().
bool std::type_info::operator!=
(
const type_info &
__arg
)
const [inline]
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
Member Data Documentation
const char* std::type_info::__name [protected]
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
1.2.15