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

Annotation.h

Go to the documentation of this file.
00001 #ifndef ANNOTATION_H
00002 #define ANNOTATION_H
00003 
00004 #include <string>
00005 
00006 using namespace std;
00007 
00008 namespace model {
00009 
00029 class Annotation {
00030 private:
00031         int m_iId;
00032         int m_iScore;
00033         string m_sName;
00034 
00035 public:
00051         Annotation() {};
00052         Annotation(int id,int score);
00053         Annotation(int id,int score, string name);
00069         ~Annotation() {};
00070 
00071         void setId(int id);
00072         void setScore(int score);
00073         void setName(string name);
00074 
00075         int getId();
00076         int getScore();
00077         string getName();
00078 
00079         // copy operations
00080     Annotation(const Annotation& other);
00081     Annotation& operator=(const Annotation& other);
00082 
00083         // comparison
00084     bool operator==( const Annotation& other ) const;
00085     bool operator!=( const Annotation& other ) const;
00086 
00087 };
00088 
00094 }
00095 #endif //ANNOTATION_H

Generated on Tue Apr 17 09:39:11 2007 for PCG Library by  doxygen 1.3.9.1