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

sword::SWObject Class Reference

Base class for major Sword classes. More...

#include <swobject.h>

Inheritance diagram for sword::SWObject:

Inheritance graph
[legend]
Collaboration diagram for sword::SWObject:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const SWClass * getClass () const
 Use this to get the class definition and inheritance order.


Protected Attributes

SWClass * myclass

Detailed Description

Base class for major Sword classes.

SWObject is the base class for major Sword classes like SWKey. It is used because dynamic_cast is not available on all plattforms supported by Sword. Use SWDYNAMIC_CAST(classname, object) instead of dynamic_cast<classname>(object).


Member Function Documentation

const SWClass* sword::SWObject::getClass (    )  const [inline]
 

Use this to get the class definition and inheritance order.

Returns:
The class definition of this object


The documentation for this class was generated from the following file:
Generated on Fri Feb 28 22:01:44 2003 for The Sword Project by doxygen1.3-rc3