Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef GCR_CLEAVAGE_H
00026 #define GCR_CLEAVAGE_H
00027
00028 #include <libxml/parser.h>
00029 #include <list>
00030
00032 namespace gcr
00033 {
00034
00040 class Cleavage
00041 {
00042 public:
00043
00044
00045
00046 Cleavage ();
00052 Cleavage (Cleavage& ccCleavage) ;
00053
00054
00055
00056 virtual ~Cleavage ();
00057
00061 int& Planes () {return m_nPlanes ;}
00065 int& h () {return m_nh ;}
00069 int& k () {return m_nk ;}
00073 int & l () {return m_nl ;}
00079 Cleavage& operator= (Cleavage& ccCleavage) ;
00084 bool operator== (Cleavage& ccCleavage) ;
00091 xmlNodePtr Save (xmlDocPtr xml) const;
00098 bool Load (xmlNodePtr node);
00099
00100 protected:
00104 int m_nh;
00108 int m_nk;
00112 int m_nl;
00116 int m_nPlanes ;
00117 };
00118
00122 typedef std::list<Cleavage*> CleavageList;
00123
00124 }
00125
00126 #endif // GCR_CLEAVAGE_H