5#ifndef BALL_KERNEL_SECONDARYSTRUCTURE_H
6#define BALL_KERNEL_SECONDARYSTRUCTURE_H
8#ifndef BALL_KERNEL_RESIDUE_H
12#ifndef BALL_KERNEL_RESIDUEITERATOR_H
16#ifndef BALL_KERNEL_ATOMCONTAINER_H
311 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
338 void prepend(
Atom& atom);
340 void append(
Atom& atom);
342 void insert(
Atom& atom);
348 bool remove(
Atom& atom);
#define BALL_KERNEL_DEFINE_ITERATOR_CREATORS(Type)
#define BALL_DECLARE_STD_ITERATOR_WRAPPER(container, type, method_name)
#define BALL_CREATE_DEEP(name)
SecondaryStructure(const SecondaryStructure &secondary_structure, bool deep=true)
Copy constructor.
void spliceAfter(SecondaryStructure &secondary_structure)
const Chain * getChain() const
void append(Residue &residue)
Type type_
The secondary structure type (helix, strand, coil, turn)
virtual ~SecondaryStructure()
Destructor.
Type getType() const
Return the type of secondary structure.
void splice(SecondaryStructure &secondary_structure)
virtual void destroy()
Clear the contents of the secondary structure and remove it from all composite structures.
Size countPDBAtoms() const
void persistentRead(PersistenceManager &pm)
bool remove(Residue &residue)
PDBAtom * getPDBAtom(Position position)
void insertAfter(Residue &residue, Composite &after)
virtual void dump(std::ostream &s=std::cout, Size depth=0) const
const PDBAtom * getPDBAtom(Position position) const
SecondaryStructure(const String &name)
const Residue * getNTerminal() const
Residue * getResidue(Position position)
void swap(SecondaryStructure &secondary_structure)
void spliceBefore(SecondaryStructure &secondary_structure)
void set(const SecondaryStructure &secondary_structure, bool deep=true)
const Residue * getCTerminal() const
virtual void clear()
Clear the contents of the secondary structure.
void prepend(Residue &residue)
Size countResidues() const
void insertBefore(Residue &residue, Composite &before)
const Protein * getProtein() const
const Residue * getResidue(Position position) const
void persistentWrite(PersistenceManager &pm, const char *name=0) const
void insert(Residue &residue)
SecondaryStructure()
Default constructor.
void setType(Type type)
Set the type of secondary structure.
virtual bool isValid() const
void get(SecondaryStructure &secondary_structure, bool deep=true) const