1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<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 bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.6 -->
<center>
<a class="qindex" href="index.html">Main Page</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_h-source.html">swobject.h</a>></code>
<p>
<p>Inheritance diagram for SWObject::
<p><center><img src="class_swobject.gif" usemap="#SWObject_map" border="0"></center>
<map name="SWObject_map">
<area href="class_swkey.html" alt="SWKey" shape="rect" coords="78,56,146,80">
<area href="class_listkey.html" alt="ListKey" shape="rect" coords="0,112,68,136">
<area href="class_strkey.html" alt="StrKey" shape="rect" coords="78,112,146,136">
<area href="class_versekey.html" alt="VerseKey" shape="rect" coords="156,112,224,136">
</map>
<a href="class_swobject-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_swclass.html">SWClass</a>* </td><td valign=bottom><a class="el" href="class_swobject.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_swclass.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_swkey.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_h-source.html#l00041">41</a> of file <a class="el" href="swobject_h-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 nowrap valign="top"><b>
const <a class="el" href="class_swclass.html">SWClass</a> * SWObject::getClass (
</b></td>
<td valign="bottom"><b>
) const<code> [inline]</code>
</b></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_h-source.html#l00049">49</a> of file <a class="el" href="swobject_h-source.html">swobject.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="swobject_h-source.html">swobject.h</a></ul>
<hr><address><small>Generated at Fri Oct 5 22:45:37 2001 for The Sword Project by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.2.6 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
© 1997-2001</small></address>
</body>
</html>
|