BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
extractors.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 // $Id: extractors.h,v 1.2.8.3 2007/03/27 22:41:31 amoll Exp $
5 //
6 // Author:
7 // Oliver Kohlbacher
8 //
9 
10 #ifndef BALL_KERNEL_EXTRACTORS_H
11 #define BALL_KERNEL_EXTRACTORS_H
12 
13 #ifndef BALL_COMMON_H
14 # include <BALL/common.h>
15 #endif
16 
17 #ifndef BALL_DATATYPE_STRING_H
18 # include <BALL/DATATYPE/string.h>
19 #endif
20 
21 namespace BALL
22 {
23 
24  class Atom;
25  class PDBAtom;
26  class Bond;
27  class AtomContainer;
28  class Fragment;
29  class Molecule;
30  class Residue;
31  class SecondaryStructure;
32  class Chain;
33  class Protein;
34  class Nucleotide;
35  class NucleicAcid;
36 
50 
51  typedef std::list<Atom*> AtomList;
53  typedef std::list<Bond*> BondList;
55  typedef std::list<AtomContainer*> AtomContainerList;
57  typedef std::list<PDBAtom*> PDBAtomList;
59  typedef std::list<Residue*> ResidueList;
61  typedef std::list<Fragment*> FragmentList;
63  typedef std::list<Molecule*> MoleculeList;
65  typedef std::list<Protein*> ProteinList;
67  typedef std::list<SecondaryStructure*> SecondaryStructureList;
69  typedef std::list<Chain*> ChainList;
71  typedef std::list<Nucleotide*> NucleotideList;
73  typedef std::list<NucleicAcid*> NucleicAcidList;
74 
76 
84 
92  BALL_EXPORT AtomList atoms(const AtomContainer& fragment, const String& expression = String());
93 
100  BALL_EXPORT AtomList atoms(const AtomList& atoms, const String& expression);
101 
109  BALL_EXPORT PDBAtomList PDBAtoms(const AtomContainer& fragment, const String& expression = String());
110 
116  BALL_EXPORT BondList bonds(const AtomContainer& fragment, bool selected_only = false);
117 
121  BALL_EXPORT BondList bonds(const Atom& atom);
122 
125  BALL_EXPORT AtomContainerList atomContainers(const AtomContainer& fragment, bool selected_only = false);
126 
129  BALL_EXPORT ResidueList residues(const AtomContainer& fragment, bool selected_only = false);
130 
133  BALL_EXPORT FragmentList fragments(const AtomContainer& fragment, bool selected_only = false);
134 
137  BALL_EXPORT MoleculeList molecules(const AtomContainer& fragment, bool selected_only = false);
138 
141  BALL_EXPORT ProteinList proteins(const AtomContainer& fragment, bool selected_only = false);
142 
145  BALL_EXPORT SecondaryStructureList secondaryStructures(const AtomContainer& fragment, bool selected_only = false);
146 
149  BALL_EXPORT ChainList chains(const AtomContainer& fragment, bool selected_only = false);
150 
153  BALL_EXPORT NucleicAcidList nucleicAcids(const AtomContainer& fragment, bool selected_only = false);
154 
157  BALL_EXPORT NucleotideList nucleotides(const AtomContainer& fragment, bool selected_only = false);
158 
160 
161 } // namespace BALL
162 
163 #endif // BALL_KERNEL_EXTRACTORS_H