Victor
 All Data Structures Functions Variables Friends Pages
Saver.h
1 /* This file is part of Victor.
2 
3  Victor is free software: you can redistribute it and/or modify
4  it under the terms of the GNU General Public License as published by
5  the Free Software Foundation, either version 3 of the License, or
6  (at your option) any later version.
7 
8  Victor is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with Victor. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef _SAVER_H_
18 #define _SAVER_H_
19 
20 // Includes:
21 #include <Debug.h>
22 
23 // Global constants, typedefs, etc. (to avoid):
24 
25 namespace Victor { namespace Biopool {
26 
27  class Group;
28  class SideChain;
29  class AminoAcid;
30  class Spacer;
31  class Ligand;
32  class LigandSet;
33  class Protein;
34  class Nucleotide;
35 
39  class Saver {
40  public:
41 
42  // CONSTRUCTORS/DESTRUCTOR:
43 
44  Saver() {
45  };
46  // this class uses the implicit copy operator.
47 
48  virtual ~Saver() {
49  };
50 
51  // MODIFIERS:
52 
53  virtual void saveGroup(Group& group) {
54  };
55 
56  virtual void saveSideChain(SideChain& node) {
57  };
58 
59  virtual void saveAminoAcid(AminoAcid& node) {
60  };
61 
62  virtual void saveSpacer(Spacer& node) {
63  };
64 
65  virtual void saveLigand(Ligand& node) {
66  };
67 
68  virtual void saveLigandSet(LigandSet& node) {
69  };
70 
71  virtual void saveProtein(Protein& node) {
72  };
73 
74  virtual void saveNucleotide(Nucleotide& node) {
75  };
76  protected:
77 
78  private:
79 
80  };
81 
82 }} //namespace
83 #endif //_SAVER_H_
84 
85 
86 
87 
88 
89 
90 
91 
92 
93 
Base class for saving components (Atoms, Groups, etc.).
Definition: Saver.h:39
Implements a simple nucleotide.
Definition: Nucleotide.h:37
This class implements a side chain.
Definition: SideChain.h:32
Is a container of Polymers (a component of components). Each chain in a PDB (a Protein object) corres...
Definition: Protein.h:36
This class implements a simple chemical group.
Definition: Group.h:35
class implements methods to manage the ligandSet
Definition: LigandSet.h:37
Implements methods to verify the ligand properties.
Definition: Ligand.h:38
It mplements a simple amino acid.
Definition: AminoAcid.h:43
Implements a "Spacer" for a protein chain. Includes methods to obtain values from the atoms and its p...
Definition: Spacer.h:42