SWObject Class Reference

#include <swobject.h>

Inheritance diagram for SWObject:
Inheritance graph
Collaboration diagram for SWObject:
Collaboration graph

List of all members.

Public Member Functions

const SWClassgetClass () const

Protected Attributes


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 51 of file swobject.h.

Member Function Documentation

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

Use this to get the class definition and inheritance order.

The class definition of this object

Definition at line 59 of file swobject.h.

00059                                      {
00060         return myclass;
00061     }

Member Data Documentation

SWClass* SWObject::myclass [protected]

Definition at line 53 of file swobject.h.

The documentation for this class was generated from the following file:

Generated on 18 Mar 2013 for The SWORD Project by  doxygen 1.6.1