Class.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2009 by Ulrich Friedrich Klank <klank@in.tum.de>
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License as published by
00006  * the Free Software Foundation; either version 3 of the License, or
00007  * (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00016  */
00017 
00018 
00019 /************************************************************************
00020                         Class.h - Copyright klank
00021 
00022 
00023 
00024 **************************************************************************/
00025 
00026 
00027 #ifndef CLASS_H
00028 #define CLASS_H
00029 
00030 #include "Elem.h"
00031 
00032 #define XML_NODE_CLASS "Class"
00033 #define XML_ATTRIBUTE_CLASSNAME "ClassName"
00034 
00035 
00036 #define DEFINED_CLASS_NAME_SUPPORTING_PLANE "SupportingPlane"
00037 
00038 
00039 namespace cop
00040 {
00048   class Class : public Elem
00049   {
00050   public:
00051 
00052     // Constructors/Destructors
00053     //
00057     Class ();
00058 
00059     Class(std::string name, int id);
00060 
00061     Class (XMLTag* tag );
00062 
00066     virtual ~Class ( );
00067 
00068 
00069     virtual std::string GetNodeName() const{return XML_NODE_CLASS;}
00070 
00071     void SetName(std::string name);
00072 
00073      std::string GetName(){return m_name;}
00078     virtual ElemType_t GetType(){return CLASS;}
00079    
00080      virtual Elem* Duplicate(bool staticcopy);  
00081     
00082     // Static Public attributes
00083     //
00084 
00085     // Public attributes
00086     //
00087 
00088 
00089     // Public attribute accessor methods
00090     //
00091 
00092 
00093     // Public attribute accessor methods
00094     //
00095 
00096 
00097   protected:
00098     virtual void SaveTo(XMLTag* tag);
00099 
00100     virtual void SetData( XMLTag* tag );
00101   private:
00102 
00103     // Static Private attributes
00104     //
00105     std::string m_name;
00106     // Private attributes
00107     //
00108 
00109 
00110     // Private attribute accessor methods
00111     //
00112 
00113 
00114     // Private attribute accessor methods
00115     //
00116 
00117 
00118 
00119   };
00120 }
00121 #endif // CLASS_H


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Mon Oct 6 2014 10:48:45