fragment-residue.h
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 GCHEMPAINT_FRAGMENT_RESIDUE_H
00026 #define GCHEMPAINT_FRAGMENT_RESIDUE_H
00027
00028 #include "fragment-atom.h"
00029 #include "residue.h"
00030 #include <string>
00031
00033 namespace gcp {
00034
00035 class FragmentResidue: public FragmentAtom
00036 {
00037 public:
00038 FragmentResidue ();
00039 FragmentResidue (Fragment *fragment, char const *symbol);
00040 virtual ~FragmentResidue ();
00041
00042 xmlNodePtr Save (xmlDocPtr xml) const;
00043 bool Load (xmlNodePtr node);
00044 void SetResidue (Residue const *res);
00048 const gchar* GetSymbol () const;
00049
00050 GCU_RO_PROP (Residue const *, Residue)
00051 GCU_RO_PROP (std::string, Abbrev)
00052 };
00053
00054 }
00055
00056 #endif // GCHEMPAINT_FRAGMENT_RESIDUE_H