include/orbit-place.hpp

00001 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
00002 /*
00003  * frpuniverse
00004  * Copyright (C) Peter L. Berghold 2008 <Peter@Berghold.net>
00005  * 
00006  * frpuniverse is free software.
00007  * 
00008  * You may redistribute it and/or modify it under the terms of the
00009  * GNU General Public License, as published by the Free Software
00010  * Foundation; either version 2 of the License, or (at your option)
00011  * any later version.
00012  * 
00013  * frpuniverse is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  * See the GNU General Public License for more details.
00017  * 
00018  * You should have received a copy of the GNU General Public License
00019  * along with frpuniverse.  If not, write to:
00020  *      The Free Software Foundation, Inc.,
00021  *      51 Franklin Street, Fifth Floor
00022  *      Boston, MA  02110-1301, USA.
00023  */
00024 
00025 #ifndef _ORBIT_PLACE_HPP_
00026 #define _ORBIT_PLACE_HPP_
00027 
00028 #include "sparse-vector-node.hpp"
00029 
00030 #define OBXML_START "<orbit>"
00031 #define OBXML_END   "</orbit>"
00032 
00039 class orbitPlace: public sparseVectorNode 
00040 {
00041 public:
00042                 
00047         orbitPlace();
00048         
00049         
00056         char * dumpAsXML();
00057         
00063         void setOrbit(int o);
00069         int getOrbit();
00070         
00077         char* nodeSignature();
00078         
00079 protected:
00080 
00081 private:
00082 
00083 };
00084 
00085 #endif // _ORBIT_PLACE_HPP_

Generated on Fri Mar 7 16:40:53 2008 for frpuniverse by  doxygen 1.4.7