Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

constellation.h

Go to the documentation of this file.
00001 // constellation.h
00002 //
00003 // Copyright (C) 2001, Chris Laurel <claurel@shatters.net>
00004 //
00005 // This program is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU General Public License
00007 // as published by the Free Software Foundation; either version 2
00008 // of the License, or (at your option) any later version.
00009 
00010 #ifndef _CONSTELLATION_H_
00011 #define _CONSTELLATION_H_
00012 
00013 #include <string>
00014 
00015 class Constellation
00016 {
00017 public:
00018     static Constellation *getConstellation(unsigned int);
00019     static Constellation *getConstellation(const std::string&);
00020 
00021     std::string getName();
00022     std::string getGenitive();
00023     std::string getAbbreviation();
00024 
00025 private:
00026     Constellation(const char *_name, const char *_genitive, const char *_abbrev);
00027     static void initialize();
00028 
00029     std::string name;
00030     std::string genitive;
00031     std::string abbrev;
00032 };
00033 
00034 #endif // _CONSTELLATION_H_
00035 
00036 

Generated on Sat Jan 14 22:30:27 2006 for Celestia by  doxygen 1.4.1