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 ""
68 virtual void destroy();
95 void set(
const Protein& protein,
bool deep =
true);
107 void get(
Protein& protein,
bool deep =
true)
const;
232 void setID(
const String&
id);
237 const String& getID()
const;
242 Size countChains()
const;
247 Size countSecondaryStructures()
const;
252 Size countResidues()
const;
257 Size countPDBAtoms()
const;
273 virtual bool isProtein()
const {
return true; }
285 virtual bool isValid()
const;
293 virtual void dump(std::ostream& s = std::cout,
Size depth = 0)
const;
317 #endif // BALL_KERNEL_PROTEIN_H
#define BALL_KERNEL_DEFINE_ITERATOR_CREATORS(Type)
void spliceBefore(AtomContainer &atom_container)
void spliceAfter(AtomContainer &atom_container)
BALL_EXPORT SecondaryStructureList secondaryStructures(const AtomContainer &fragment, bool selected_only=false)
void splice(AtomContainer &atom_container)
const Residue * getNTerminal(const ResidueContainerType &residue_container)
void insertBefore(Atom &atom, Composite &before)
void insertAfter(Atom &atom, Composite &after)
#define BALL_PROTEIN_DEFAULT_ID
const Residue * getCTerminal(const ResidueContainerType &residue_container)
Property
The number of predefined properties for AtomContainer.
BALL_EXPORT ChainList chains(const AtomContainer &fragment, bool selected_only=false)
BALL_EXPORT ResidueList residues(const AtomContainer &fragment, bool selected_only=false)
BALL_EXPORT bool operator!=(const String &s1, const String &s2)
#define BALL_CREATE_DEEP(name)
#define BALL_DECLARE_STD_ITERATOR_WRAPPER(container, type, method_name)
BALL_EXPORT bool operator==(const String &s1, const String &s2)