5#ifndef BALL_KERNEL_PROTEIN_H
6#define BALL_KERNEL_PROTEIN_H
8#ifndef BALL_KERNEL_CHAINITERATOR_H
12#ifndef BALL_KERNEL_MOLECULE_H
16#define BALL_PROTEIN_DEFAULT_ID ""
43 NUMBER_OF_PROPERTIES = Molecule::NUMBER_OF_PROPERTIES
120 bool operator == (
const Protein& protein)
const;
125 bool operator != (
const Protein& protein)
const;
261 using Molecule::prepend;
262 using Molecule::append;
263 using Molecule::insert;
264 using Molecule::insertBefore;
265 using Molecule::insertAfter;
266 using Molecule::remove;
267 using Molecule::splice;
268 using Molecule::spliceBefore;
269 using Molecule::spliceAfter;
293 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
#define BALL_DECLARE_STD_ITERATOR_WRAPPER(container, type, method_name)
#define BALL_KERNEL_DEFINE_ITERATOR_CREATORS(Type)
#define BALL_PROTEIN_DEFAULT_ID
#define BALL_CREATE_DEEP(name)
void set(const Protein &protein, bool deep=true)
virtual bool isValid() const
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
SecondaryStructure * getSecondaryStructure(Position position)
void persistentWrite(PersistenceManager &pm, const char *name=0) const
const Residue * getCTerminal() const
const Residue * getResidueByID(String residue_ID) const
Protein(const Protein &protein, bool deep=true)
Copy constructor.
Size countSecondaryStructures() const
const Residue * getResidue(Position position) const
const Chain * getChain(Position position) const
virtual void clear()
Clears the contents of the protein.
Protein()
Default constructor.
Protein(const String &name, const String &id=BALL_PROTEIN_DEFAULT_ID)
Detailled constructor.
void swap(Protein &protein)
const PDBAtom * getPDBAtom(Position position) const
virtual ~Protein()
Destructor.
void setID(const String &id)
const String & getID() const
Chain * getChain(Position position)
void get(Protein &protein, bool deep=true) const
Residue * getResidueByID(String residue_ID)
virtual bool isProtein() const
const SecondaryStructure * getSecondaryStructure(Position position) const
void persistentRead(PersistenceManager &pm)
Residue * getResidue(Position position)
Size countResidues() const
Size countPDBAtoms() const
PDBAtom * getPDBAtom(Position position)
const Residue * getNTerminal() const