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

SWObject Class Reference

Base class for major Sword classes. More...

#include <swobject.h>

Inheritance diagram for SWObject::

SWKey ListKey StrKey VerseKey List of all members.

Public Methods

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


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

Definition at line 41 of file swobject.h.


Member Function Documentation

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

Use this to get the class definition and inheritance order.

Returns:
The class definition of this object

Definition at line 49 of file swobject.h.


The documentation for this class was generated from the following file:
Generated at Tue Jan 22 14:52:49 2002 for The Sword Project by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001