#include <system.h>
Inheritance diagram for System:
Public Member Functions | |
bool | operator== (const System &system) const throw () |
Equality operator. | |
bool | operator!= (const System &system) const throw () |
Inequality operator. | |
Constructors and Destructors | |
System () throw () | |
Default constructor. | |
System (const System &system, bool deep=true) throw () | |
Copy constructor. | |
System (const String &name) throw () | |
Detailled constructor. | |
virtual | ~System () throw () |
Destructor. | |
Persistence | |
void | persistentWrite (PersistenceManager &pm, const char *name=0) const throw (Exception::GeneralException) |
Writes a System object to a persistent stream. | |
void | persistentRead (PersistenceManager &pm) throw (Exception::GeneralException) |
Reads a System object from a persistent stream. | |
Assignment | |
void | set (const System &system, bool deep=true) throw () |
Assignment with cloning facility. | |
System & | operator= (const System &system) throw () |
Assignment operator. | |
void | get (System &system, bool deep=true) const throw () |
Copying with cloning facility. | |
Accessors | |
Molecule * | getMolecule (Position position) throw () |
Get a pointer to a child Molecule at a given position. | |
const Molecule * | getMolecule (Position position) const throw () |
Get a pointer to a child Molecule at a given position. | |
Size | countMolecules () const throw () |
Count the molecules in this system. | |
Size | countFragments () const throw () |
Count the fragments in this system. | |
Size | countAtoms () const throw () |
Count the atoms in this system. | |
Size | countProteins () const throw () |
Count the proteins in this system. | |
Size | countChains () const throw () |
Count the chains in this system. | |
Size | countSecondaryStructures () const throw () |
Count the secondary structures in this system. | |
Size | countResidues () const throw () |
Count the residues in this system. | |
Size | countNucleicAcids () const throw () |
Count the nucleic acids in this system. | |
Size | countNucleotides () const throw () |
Count the nucleotides in this system. | |
void | prepend (Molecule &molecule) throw () |
Prepend a molecule at position 0. | |
void | append (Molecule &molecule) throw () |
Append a molecule after the last position. | |
void | insert (Molecule &molecule) throw () |
Insert a molecule after the last position. | |
void | insertBefore (Molecule &molecule, Composite &before) throw () |
Insert a molecule before a given Composite object. | |
void | insertAfter (Molecule &molecule, Composite &after) throw () |
Insert a molecule after a given Composite object. | |
bool | remove (Molecule &molecule) throw () |
Remove a molecule. | |
void | spliceBefore (System &system) throw () |
Move the children of system into this instance. | |
void | spliceAfter (System &system) throw () |
Move the children of system into this instance. | |
void | splice (System &system) throw () |
Move the children of system into this instance. |
This class is used to represent a system, i.e., a collection of molecules.
|
Append a molecule after the last position.
|
|
Count the atoms in this system.
Reimplemented from AtomContainer. |
|
Count the chains in this system.
|
|
Count the fragments in this system.
|
|
Count the molecules in this system.
|
|
Count the nucleic acids in this system.
|
|
Count the nucleotides in this system.
|
|
Count the proteins in this system.
|
|
Count the residues in this system.
|
|
Count the secondary structures in this system.
|
|
Copying with cloning facility. The assignment is either deep or shallow (default).
|
|
Get a pointer to a child Molecule at a given position. The pointer is 0 if this instance does not have a Molecule at this position.
|
|
Get a pointer to a child Molecule at a given position. The pointer is 0 if this instance does not have a Molecule at this position.
|
|
Insert a molecule after the last position.
|
|
Insert a molecule after a given Composite object.
|
|
Insert a molecule before a given Composite object.
|
|
Inequality operator.
|
|
Assignment operator.
|
|
Equality operator. Two instance of System are equal if they have the same handle.
|
|
Reads a System object from a persistent stream.
Reimplemented from AtomContainer. |
|
Writes a System object to a persistent stream.
Reimplemented from AtomContainer. |
|
Prepend a molecule at position 0.
|
|
Remove a molecule.
|
|
Assignment with cloning facility. The assignment is either deep or shallow (default).
|
|
Move the children of The children are inserted using spliceBefore . |
|
Move the children of
Cut all children of
|
|
Move the children of
Cut all children of
|