From c25950a1b05be0cd5d7590327e6fadd5682392e2 Mon Sep 17 00:00:00 2001 From: danglassey Date: Thu, 31 Oct 2002 14:03:48 +0000 Subject: sync with crosswire 20021031-1400 --- doc/api-documentation/html/swobject_8h-source.html | 94 +++++++++++----------- 1 file changed, 48 insertions(+), 46 deletions(-) (limited to 'doc/api-documentation/html/swobject_8h-source.html') 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 @@ swobject.h Source File - +
-Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  
-

swobject.h

00001 #ifndef SWOBJECT_H
-00002 #define SWOBJECT_H
-00003 
-00004 #include <utilfuns.h>
-00005 #if !defined(__GNUC__) && !defined(_WIN32_WCE)
-00006 #else
-00007 #include <unixstr.h>
-00008 #endif
-00009 
-00010 #include <defs.h>
-00011 #include <string.h>
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   
+

swobject.h

00001 #ifndef SWOBJECT_H
+00002 #define SWOBJECT_H
+00003 
+00004 #include <utilfuns.h>
+00005 #if !defined(__GNUC__) && !defined(_WIN32_WCE)
+00006 #else
+00007 #include <unixstr.h>
+00008 #endif
+00009 
+00010 #include <defs.h>
+00011 #include <string.h>
 00012 
-00013 #define SWDYNAMIC_CAST(className, object) (className *)((object)?((object->getClass()->isAssignableFrom(#className))?object:0):0)
-00014 
-00018 class SWDLLEXPORT SWClass {
-00019 private:
-00020         const char **descends;
-00021 
-00022 public:
-00023         SWClass(const char **descends) {
-00024                 this->descends = descends;
-00025         }
-00026 
-00027         bool isAssignableFrom(const char *className) const {
-00028                 for (int i = 0; descends[i]; i++) {
-00029                         if (!stricmp(descends[i], className))
-00030                                 return true;
-00031                 }
-00032                 return false;
-00033         }
-00034 };
-00035 
-00041 class SWObject {
-00042 protected:
-00043         SWClass * myclass;
-00044      
-00045 public:
-00049         const SWClass *getClass () const {
-00050                 return myclass;
-00051         }
-00052 };
-00053 
-00054 #endif
-

Generated on Thu Jun 20 22:13:00 2002 for The Sword Project by +00013 SWORD_NAMESPACE_START +00014 #define SWDYNAMIC_CAST(className, object) (className *)((object)?((object->getClass()->isAssignableFrom(#className))?object:0):0) +00015 +00019 class SWDLLEXPORT SWClass { +00020 private: +00021 const char **descends; +00022 +00023 public: +00024 SWClass(const char **descends) { +00025 this->descends = descends; +00026 } +00027 +00028 bool isAssignableFrom(const char *className) const { +00029 for (int i = 0; descends[i]; i++) { +00030 if (!stricmp(descends[i], className)) +00031 return true; +00032 } +00033 return false; +00034 } +00035 }; +00036 +00042 class SWObject { +00043 protected: +00044 SWClass * myclass; +00045 +00046 public: +00050 const SWClass *getClass () const { +00051 return myclass; +00052 } +00053 }; +00054 +00055 SWORD_NAMESPACE_END +00056 #endif +

Generated on Thu Oct 31 12:11:28 2002 for The Sword Project by doxygen1.2.15
+width=110 height=53>1.2.17 -- cgit