aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api-documentation/html/swobject_8h-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api-documentation/html/swobject_8h-source.html')
-rw-r--r--doc/api-documentation/html/swobject_8h-source.html94
1 files changed, 48 insertions, 46 deletions
diff --git a/doc/api-documentation/html/swobject_8h-source.html b/doc/api-documentation/html/swobject_8h-source.html
index 785840c..5ae0ec0 100644
--- a/doc/api-documentation/html/swobject_8h-source.html
+++ b/doc/api-documentation/html/swobject_8h-source.html
@@ -3,55 +3,57 @@
<title>swobject.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
-<!-- Generated by Doxygen 1.2.15 -->
+<!-- Generated by Doxygen 1.2.17 -->
<center>
-<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
-<hr><h1>swobject.h</h1><div class="fragment"><pre>00001 <font class="preprocessor">#ifndef SWOBJECT_H</font>
-00002 <font class="preprocessor"></font><font class="preprocessor">#define SWOBJECT_H</font>
-00003 <font class="preprocessor"></font>
-00004 <font class="preprocessor">#include &lt;utilfuns.h&gt;</font>
-00005 <font class="preprocessor">#if !defined(__GNUC__) &amp;&amp; !defined(_WIN32_WCE)</font>
-00006 <font class="preprocessor"></font><font class="preprocessor">#else</font>
-00007 <font class="preprocessor"></font><font class="preprocessor">#include &lt;unixstr.h&gt;</font>
-00008 <font class="preprocessor">#endif</font>
-00009 <font class="preprocessor"></font>
-00010 <font class="preprocessor">#include &lt;defs.h&gt;</font>
-00011 <font class="preprocessor">#include &lt;string.h&gt;</font>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
+<hr><h1>swobject.h</h1><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef SWOBJECT_H</span>
+00002 <span class="preprocessor"></span><span class="preprocessor">#define SWOBJECT_H</span>
+00003 <span class="preprocessor"></span>
+00004 <span class="preprocessor">#include &lt;utilfuns.h&gt;</span>
+00005 <span class="preprocessor">#if !defined(__GNUC__) &amp;&amp; !defined(_WIN32_WCE)</span>
+00006 <span class="preprocessor"></span><span class="preprocessor">#else</span>
+00007 <span class="preprocessor"></span><span class="preprocessor">#include &lt;unixstr.h&gt;</span>
+00008 <span class="preprocessor">#endif</span>
+00009 <span class="preprocessor"></span>
+00010 <span class="preprocessor">#include &lt;defs.h&gt;</span>
+00011 <span class="preprocessor">#include &lt;string.h&gt;</span>
00012
-00013 <font class="preprocessor">#define SWDYNAMIC_CAST(className, object) (className *)((object)?((object-&gt;getClass()-&gt;isAssignableFrom(#className))?object:0):0)</font>
-00014 <font class="preprocessor"></font>
-<a name="l00018"></a><a class="code" href="class_s_w_class.html">00018</a> <font class="keyword">class </font>SWDLLEXPORT <a class="code" href="class_s_w_class.html">SWClass</a> {
-00019 <font class="keyword">private</font>:
-00020 <font class="keyword">const</font> <font class="keywordtype">char</font> **descends;
-00021
-00022 <font class="keyword">public</font>:
-00023 <a class="code" href="class_s_w_class.html">SWClass</a>(<font class="keyword">const</font> <font class="keywordtype">char</font> **descends) {
-00024 this-&gt;descends = descends;
-00025 }
-00026
-00027 <font class="keywordtype">bool</font> isAssignableFrom(<font class="keyword">const</font> <font class="keywordtype">char</font> *className)<font class="keyword"> const </font>{
-00028 <font class="keywordflow">for</font> (<font class="keywordtype">int</font> i = 0; descends[i]; i++) {
-00029 <font class="keywordflow">if</font> (!stricmp(descends[i], className))
-00030 <font class="keywordflow">return</font> <font class="keyword">true</font>;
-00031 }
-00032 <font class="keywordflow">return</font> <font class="keyword">false</font>;
-00033 }
-00034 };
-00035
-<a name="l00041"></a><a class="code" href="class_s_w_object.html">00041</a> <font class="keyword">class </font><a class="code" href="class_s_w_object.html">SWObject</a> {
-00042 <font class="keyword">protected</font>:
-00043 <a class="code" href="class_s_w_class.html">SWClass</a> * myclass;
-00044
-00045 <font class="keyword">public</font>:
-<a name="l00049"></a><a class="code" href="class_s_w_object.html#a0">00049</a> <font class="keyword">const</font> <a class="code" href="class_s_w_class.html">SWClass</a> *<a class="code" href="class_s_w_object.html#a0">getClass</a> ()<font class="keyword"> const </font>{
-00050 <font class="keywordflow">return</font> myclass;
-00051 }
-00052 };
-00053
-00054 <font class="preprocessor">#endif</font>
-</pre></div><hr><address align="right"><small>Generated on Thu Jun 20 22:13:00 2002 for The Sword Project by
+00013 SWORD_NAMESPACE_START
+00014 <span class="preprocessor">#define SWDYNAMIC_CAST(className, object) (className *)((object)?((object-&gt;getClass()-&gt;isAssignableFrom(#className))?object:0):0)</span>
+00015 <span class="preprocessor"></span>
+<a name="l00019"></a><a class="code" href="classsword_1_1_s_w_class.html">00019</a> <span class="keyword">class </span>SWDLLEXPORT <a class="code" href="classsword_1_1_s_w_class.html">SWClass</a> {
+00020 <span class="keyword">private</span>:
+00021 <span class="keyword">const</span> <span class="keywordtype">char</span> **descends;
+00022
+00023 <span class="keyword">public</span>:
+00024 <a class="code" href="classsword_1_1_s_w_class.html">SWClass</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> **descends) {
+00025 this-&gt;descends = descends;
+00026 }
+00027
+00028 <span class="keywordtype">bool</span> isAssignableFrom(<span class="keyword">const</span> <span class="keywordtype">char</span> *className)<span class="keyword"> const </span>{
+00029 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; descends[i]; i++) {
+00030 <span class="keywordflow">if</span> (!stricmp(descends[i], className))
+00031 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00032 }
+00033 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00034 }
+00035 };
+00036
+<a name="l00042"></a><a class="code" href="classsword_1_1_s_w_object.html">00042</a> <span class="keyword">class </span><a class="code" href="classsword_1_1_s_w_object.html">SWObject</a> {
+00043 <span class="keyword">protected</span>:
+00044 <a class="code" href="classsword_1_1_s_w_class.html">SWClass</a> * myclass;
+00045
+00046 <span class="keyword">public</span>:
+<a name="l00050"></a><a class="code" href="classsword_1_1_s_w_object.html#a0">00050</a> <span class="keyword">const</span> <a class="code" href="classsword_1_1_s_w_class.html">SWClass</a> *getClass ()<span class="keyword"> const </span>{
+00051 <span class="keywordflow">return</span> myclass;
+00052 }
+00053 };
+00054
+00055 SWORD_NAMESPACE_END
+00056 <span class="preprocessor">#endif</span>
+</pre></div><hr><address style="align: right;"><small>Generated on Thu Oct 31 12:11:28 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>
+width=110 height=53></a>1.2.17 </small></address>
</body>
</html>