ionflux.org | Impressum

Object.hpp

Go to the documentation of this file.
00001 #ifndef IONFLUX_TOOLS_OBJECT
00002 #define IONFLUX_TOOLS_OBJECT
00003 /* ==========================================================================
00004  * Ionflux Tools
00005  * Copyright (c) 2004-2005 Joern P. Meier
00006  * mail@ionflux.org
00007  * --------------------------------------------------------------------------
00008  * Object.hpp                        Object.
00009  * ==========================================================================
00010  * 
00011  * This file is part of Ionflux Tools.
00012  * 
00013  * Ionflux Tools is free software; you can redistribute it and/or modify it
00014  * under the terms of the GNU General Public License as published by the 
00015  * Free Software Foundation; either version 2 of the License, or (at your 
00016  * option) any later version.
00017  * 
00018  * Ionflux Tools is distributed in the hope that it will be useful, but 
00019  * WITHOUT ANY WARRANTY; without even the implied warranty of 
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
00021  * General Public License for more details.
00022  * 
00023  * You should have received a copy of the GNU General Public License along 
00024  * with Ionflux Tools; if not, write to the Free Software Foundation, Inc.,
00025  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00026  * 
00027  * ========================================================================== */
00028 
00029 #include <string>
00030 #include <vector>
00031 #include "ionflux/ClassInfo.hpp"
00032 
00033 namespace Ionflux
00034 {
00035 
00036 namespace Tools
00037 {
00038 
00040 class ObjectClassInfo
00041 : public ClassInfo
00042 {
00043     public:
00045         ObjectClassInfo();
00047         virtual ~ObjectClassInfo() { };
00048 };
00049 
00055 class Object
00056 {
00057     private:
00058         
00059     protected:
00061         std::vector<const ClassInfo*> theClasses;
00062         
00063     public:
00065         static const ObjectClassInfo objectClassInfo;
00067         static const ClassInfo* CLASS_INFO;
00068         
00073         Object();
00074         
00079         virtual ~Object();
00080         
00088         virtual const ClassInfo* getClass() const;
00089         
00096         virtual std::string getClassName() const;
00097         
00104         virtual std::string getClassDesc() const;
00105 };
00106 
00107 }
00108 
00109 }
00110 
00114 #endif

Generated on Tue Mar 14 20:58:29 2006 for Ionflux Tools Class Library (iftools) by  doxygen 1.4.6