22 #include <Component.h>
25 #include <LigandSet.h>
27 namespace Victor {
namespace Biopool {
46 virtual string getClassName()
const {
56 const unsigned int sizeProtein()
const;
59 vector <char> getAllChains();
64 void addChain(
char c);
66 void setChainSelection();
77 Polymer& operator[](
unsigned int n);
82 void printComponents();
94 inline const unsigned int Protein::sizeProtein()
const {
95 return components.size();
98 inline vector<char>Protein::getAllChains() {
102 inline void Protein::save(Saver& s) {
103 s.saveProtein(*
this);
108 inline void Protein::addChain(
char c) {
112 inline void Protein::load(Loader& l) {
113 l.loadProtein(*
this);
118 Protein::operator[](
unsigned int n) {
Base class for saving components (Atoms, Groups, etc.).
Definition: Saver.h:39
void removeComponent(Component *c)
Definition: Protein.cc:130
Polymer & getPolymer(unsigned int n)
Definition: Protein.cc:60
Is a container of Polymers (a component of components). Each chain in a PDB (a Protein object) corres...
Definition: Protein.h:36
Base class for composite structures.
Definition: Component.h:39
virtual Protein * clone()
Definition: Protein.cc:149
Base class for loading components (Atoms, Groups, etc.).
Definition: Loader.h:39
void insertComponent(Component *c)
Definition: Protein.cc:161
class implements methods to manage the ligandSet
Definition: LigandSet.h:37
Implements methods to manage a polymer created by components.
Definition: Polymer.h:33
LigandSet * getLigandSet(char c)
Definition: Protein.cc:85
unsigned int getChainNum(char c)
Definition: Protein.cc:109
void deleteComponent(Component *c)
Definition: Protein.cc:136
char getChainLetter(unsigned int i)
Definition: Protein.cc:121
Implements a "Spacer" for a protein chain. Includes methods to obtain values from the atoms and its p...
Definition: Spacer.h:42
Spacer * getSpacer(char c)
Definition: Protein.cc:49