<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>SWObject class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.15 -->
<center>
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center>
<hr><h1>SWObject Class Reference</h1>Base class for major Sword classes.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="swobject_8h-source.html">swobject.h</a>></code>
<p>
Inheritance diagram for SWObject:<p><center><img src="class_s_w_object__inherit__graph.png" border="0" usemap="#_s_w_object__inherit__map" alt="Inheritance graph"></center>
<map name="_s_w_object__inherit__map">
<area href="class_s_w_display.html" shape="rect" coords="30,85,105,103" alt="">
<area href="class_s_w_key.html" shape="rect" coords="129,85,185,103" alt="">
<area href="class_list_key.html" shape="rect" coords="14,154,67,173" alt="">
<area href="class_str_key.html" shape="rect" coords="91,154,142,173" alt="">
<area href="class_tree_key.html" shape="rect" coords="166,154,227,173" alt="">
<area href="class_verse_key.html" shape="rect" coords="251,154,321,173" alt="">
<area href="class_tree_key_idx.html" shape="rect" coords="158,223,235,242" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for SWObject:<p><center><img src="class_s_w_object__coll__graph.png" border="0" usemap="#_s_w_object__coll__map" alt="Collaboration graph"></center>
<map name="_s_w_object__coll__map">
<area href="class_s_w_class.html" shape="rect" coords="18,15,82,33" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_s_w_object-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="class_s_w_class.html">SWClass</a> * </td><td valign=bottom><a class="el" href="class_s_w_object.html#a0">getClass</a> () const</td></tr>
<tr><td> </td><td><font size=-1><em>Use this to get the class definition and inheritance order.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="SWObject::myclass"></a>
<a class="el" href="class_s_w_class.html">SWClass</a> * </td><td valign=bottom><b>myclass</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Base class for major Sword classes.
<p>
SWObject is the base class for major Sword classes like <a class="el" href="class_s_w_key.html">SWKey</a>. 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).
<p>
<p>
Definition at line <a class="el" href="swobject_8h-source.html#l00041">41</a> of file <a class="el" href="swobject_8h-source.html">swobject.h</a>.<hr><h2>Member Function Documentation</h2>
<a name="a0" doxytag="SWObject::getClass"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> const <a class="el" href="class_s_w_class.html">SWClass</a>* SWObject::getClass </td>
<td class="md" valign="top">( </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">) </td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Use this to get the class definition and inheritance order.
<p>
<dl compact><dt><b>
Returns: </b><dd>
The class definition of this object </dl>
<p>
Definition at line <a class="el" href="swobject_8h-source.html#l00049">49</a> of file <a class="el" href="swobject_8h-source.html">swobject.h</a>.
<p>
<div class="fragment"><pre>00049 {
00050 <font class="keywordflow">return</font> myclass;
00051 }
</pre></div> </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="swobject_8h-source.html">swobject.h</a></ul>
<hr><address align="right"><small>Generated on Thu Jun 20 22:13:04 2002 for The Sword Project by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.2.15 </small></address>
</body>
</html>