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

strmod::strmod::STR_ClassIdent Class Reference

The class identifier class that sets the library number section of the class number to be correct for the classes in the StrMod library. More...

#include <StrMod/STR_ClassIdent.h>

Inheritance diagram for strmod::strmod::STR_ClassIdent:

Inheritance graph
[legend]
List of all members.

Public Methods

 STR_ClassIdent (U4Byte cnum)
 Construct a class identifier.

virtual int AreYouA (const ClassIdent &cid) const
 Asks if a class is of a particular type, or publicly derived from that type.


Static Public Attributes

const STR_ClassIdent identifier
 The unique class identifier for this class.


Protected Methods

virtual const ClassIdent * i_GetIdent () const
 Returns the class identifier for the class the object actually is.


Detailed Description

The class identifier class that sets the library number section of the class number to be correct for the classes in the StrMod library.

Definition at line 56 of file STR_ClassIdent.h.


Constructor & Destructor Documentation

strmod::strmod::STR_ClassIdent::STR_ClassIdent U4Byte    cnum [inline]
 

Construct a class identifier.

This class the base class constructor with the appropriate library number.

Definition at line 110 of file STR_ClassIdent.h.


Member Function Documentation

int strmod::strmod::STR_ClassIdent::AreYouA const ClassIdent &    cid const [inline, virtual]
 

Asks if a class is of a particular type, or publicly derived from that type.

Overriden in every derived class (with a static identifier member) to compare against the identifier, then call the AreYouA methods of all the superclasses.

Parameters:
cid Usually <class>::identifier for the class you want to ask if the object is an instance of.

Definition at line 100 of file STR_ClassIdent.h.

const lcore::ClassIdent * strmod::strmod::STR_ClassIdent::i_GetIdent   const [inline, protected, virtual]
 

Returns the class identifier for the class the object actually is.

Should always be overridden in any class that has a static identifier member.

Definition at line 95 of file STR_ClassIdent.h.


The documentation for this class was generated from the following files:
Generated on Wed Jan 29 00:32:55 2003 for libNet by doxygen1.3-rc1