Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

TypeInfo Class Reference

run-time information about the type of class object. More...

#include <btTypeInfo.h>

List of all members.

Public Methods

 TypeInfo (const char *classname)
const char* name () const
bool nameIs (const char *some_name) const


Detailed Description

run-time information about the type of class object.

NAME: TypeInfo - run-time information about the type of class object

DESCRIPTION:

The class provides run-time information about the type of class object, and is based on Stroustrup's similar idea in the C++ Programming Language, 2nd ed.


Constructor & Destructor Documentation

TypeInfo::TypeInfo ( const char * classname )
 

There is one constructor which takes the classname as argument.


Member Function Documentation

const char * TypeInfo::name ( ) const [inline]
 

returns the classname

bool TypeInfo::nameIs ( const char * some_name ) const [inline]
 

checks if the classname connected to this "TypeInfo" object equals the supplied classname.


The documentation for this class was generated from the following file:
Copyright © 2003 inuTech GmbH. All rights reserved.