Modules | |
group | Periodic Table of Elements |
These classes represent elements and the periodic table of elements. | |
Classes | |
class | Bond |
Bond class. More... | |
class | ExpressionParser |
Expression Parser. More... | |
class | ExpressionTree |
Expression tree class. More... | |
class | Element |
Element class. More... | |
class | SecondaryStructure |
Secondary structure class. More... | |
Convenient iteration macros | |
#define | BALL_FOREACH_MOLECULE(molecule_container, molecule_iterator) |
Molecule iterator macro. | |
#define | BALL_FOREACH_FRAGMENT(fragment_container, fragment_iterator) |
Fragment iterator macro. | |
#define | BALL_FOREACH_ATOMCONTAINER(atom_containers, atom_container_iterator) |
AtomContainer iterator macro. | |
#define | BALL_FOREACH_ATOM(atom_container, atom_iterator) |
Atom iterator macro. | |
#define | BALL_FOREACH_ATOM_BOND(bond_container, bond_iterator) |
Atom bond iterator macro. | |
#define | BALL_FOREACH_ATOM_PAIR(atom_container, first_atom_iterator, second_atom_iterator) |
Atom pair iterator macro. | |
#define | BALL_FOREACH_BOND(atom_container, atom_iterator, bond_iterator) |
Bond iterator macro. | |
#define | BALL_FOREACH_INTERBOND(atom_container, atom_iterator, bond_iterator) |
Intermolecular bond iterator macro. | |
#define | BALL_FOREACH_INTRABOND(atom_container, atom_iterator, bond_iterator) |
Intramolecular bond iterator macro. | |
#define | BALL_FOREACH_PROTEIN(protein_container, protein_iterator) |
Protein iterator macro. | |
#define | BALL_FOREACH_CHAIN(chain_container, chain_iterator) |
Chain iterator macro. | |
#define | BALL_FOREACH_SECONDARYSTRUCTURE(secondary_structure_container, secondary_structure_iterator) |
SecondaryStructure iterator macro. | |
#define | BALL_FOREACH_RESIDUE(residue_container, residue_iterator) |
Residue iterator macro. | |
#define | BALL_FOREACH_PDBATOM(pdb_atom_container, pdb_atom_iterator) |
PDBAtom iterator macro. | |
[NOHEADER] | |
typedef std::list< Atom * > | AtomList |
typedef std::list< Bond * > | BondList |
typedef std::list< AtomContainer * > | AtomContainerList |
typedef std::list< PDBAtom * > | PDBAtomList |
typedef std::list< Residue * > | ResidueList |
typedef std::list< Fragment * > | FragmentList |
typedef std::list< Molecule * > | MoleculeList |
typedef std::list< Protein * > | ProteinList |
typedef std::list< SecondaryStructure * > | SecondaryStructureList |
typedef std::list< Chain * > | ChainList |
typedef std::list< Nucleotide * > | NucleotideList |
typedef std::list< NucleicAcid * > | NucleicAcidList |
[NOHEADER] | |
BALL_EXPORT AtomList | atoms (const AtomContainer &fragment, const String &expression=String()) |
Extract atoms matching an expression. | |
BALL_EXPORT AtomList | atoms (const AtomList &atoms, const String &expression) |
Extract atoms matching an expression. | |
BALL_EXPORT PDBAtomList | PDBAtoms (const AtomContainer &fragment, const String &expression=String()) |
Extract PDB atoms matching an expression. | |
BALL_EXPORT BondList | bonds (const AtomContainer &fragment, bool selected_only=false) |
Extract all bonds from a kernel data structure. | |
BALL_EXPORT BondList | bonds (const Atom &atom) |
Extract all bonds from an atom. | |
BALL_EXPORT AtomContainerList | atomContainers (const AtomContainer &fragment, bool selected_only=false) |
Extract all base fragments from a kernel data structure. | |
BALL_EXPORT ResidueList | residues (const AtomContainer &fragment, bool selected_only=false) |
Extract all residues from a kernel data structure. | |
BALL_EXPORT FragmentList | fragments (const AtomContainer &fragment, bool selected_only=false) |
Extract all fragments from a kernel data structure. | |
BALL_EXPORT MoleculeList | molecules (const AtomContainer &fragment, bool selected_only=false) |
Extract all molecules from a kernel data structure. | |
BALL_EXPORT ProteinList | proteins (const AtomContainer &fragment, bool selected_only=false) |
Extract all proteins from a kernel data structure. | |
BALL_EXPORT SecondaryStructureList | secondaryStructures (const AtomContainer &fragment, bool selected_only=false) |
Extract all secondary structures from a kernel data structure. | |
BALL_EXPORT ChainList | chains (const AtomContainer &fragment, bool selected_only=false) |
Extract all chains from a kernel data structure. | |
BALL_EXPORT NucleicAcidList | nucleicAcids (const AtomContainer &fragment, bool selected_only=false) |
Extract all nucleic acids from a kernel data structure. | |
BALL_EXPORT NucleotideList | nucleotides (const AtomContainer &fragment, bool selected_only=false) |
Extract all nucleotides from a kernel data structure. | |
Functions | |
template<class AtomContainerType> | |
void | cloneBonds (const AtomContainerType &atom_container, AtomContainerType &cloned) |
Bond cloning method. | |
Variables | |
bool | clone_bonds |
Global static variable needed for the cloning of kernel objects containing bonds. | |
BALL_EXPORT PTE_ | PTE |
Global static instance of the periodic table. |
|
Value: for (atom_iterator = (atom_container).beginAtom(); \
!atom_iterator.isEnd(); ++atom_iterator)
Convenience macro for easy iteration over all atoms of {atom_container}.
|
|
Value: for (bond_iterator = (bond_container).beginBond(); \
!bond_iterator.isEnd(); ++bond_iterator)
Convenience macro for easy iteration over all bonds of {bond_container}.
|
|
Value: for (first_atom_iterator = (atom_container).beginAtom(); \ !first_atom_iterator.isEnd(); ++first_atom_iterator) \ for (second_atom_iterator = (atom_container).beginAtom(); \ !second_atom_iterator.isEnd(); ++second_atom_iterator) \ if ((*first_atom_iterator) < (*second_atom_iterator)) Convenience macro for easy iteration over all atom pairs of {atom_container}.
|
|
Value: for (atom_container_iterator = (atom_containers).beginAtomContainer(); \
!atom_container_iterator.isEnd(); ++atom_container_iterator)
Convenience macro for easy iteration over all atom containers of {atom_container}.
|
|
Value: for (atom_iterator = (atom_container).beginAtom(); \ !atom_iterator.isEnd(); ++atom_iterator) \ for (bond_iterator = (*atom_iterator).beginBond(); \ !bond_iterator.isEnd(); ++bond_iterator) \ if ((*bond_iterator).getFirstAtom() == &(*atom_iterator) \ || !(atom_container).isAncestorOf(*(*bond_iterator).getFirstAtom())) Convenience macro for easy iteration over all bonds of all atoms in {atom_container}.
|
|
Value: for (chain_iterator = (chain_container).beginChain(); \
!chain_iterator.isEnd(); ++chain_iterator)
Convenience macro for easy iteration over all chains of {chain_container}.
|
|
Value: for (fragment_iterator = (fragment_container).beginFragment(); \
!fragment_iterator.isEnd(); ++fragment_iterator)
Convenience macro for easy iteration over all fragments of {fragment_container}.
|
|
Value: for (atom_iterator = (atom_container).beginAtom(); \ !atom_iterator.isEnd(); ++atom_iterator) \ for (bond_iterator = (*atom_iterator).beginBond(); \ !bond_iterator.isEnd(); ++bond_iterator) \ if (((*bond_iterator).getFirstAtom() == &(*atom_iterator) \ && !(atom_container).isAncestorOf(*(*bond_iterator).getSecondAtom())) \ || !(atom_container).isAncestorOf(*(*bond_iterator).getFirstAtom())) Convenience macro for easy iteration over all intermolecular bonds of atoms in {atom_container}.
|
|
Value: for (atom_iterator = (atom_container).beginAtom(); \ !atom_iterator.isEnd(); ++atom_iterator) \ for (bond_iterator = (*atom_iterator).beginBond(); \ !bond_iterator.isEnd(); ++bond_iterator) \ if ((*bond_iterator).getFirstAtom() == &(*atom_iterator) \ && (atom_container).isAncestorOf(*(*bond_iterator).getSecondAtom())) Convenience macro for easy iteration over all intramolecular (internal) bonds of {atom_container}.
|
|
Value: for (molecule_iterator = (molecule_container).beginMolecule(); \
!molecule_iterator.isEnd(); ++molecule_iterator)
Convenience macro for easy iteration over all molecules of {molecule_container}.
|
|
Value: for (pdb_atom_iterator = (pdb_atom_container).beginPDBAtom(); \
!pdb_atom_iterator.isEnd(); ++pdb_atom_iterator)
Convenience macro for easy iteration over all PDBAtom s of {pdb_atom_container}.
|
|
Value: for (protein_iterator = (protein_container).beginProtein(); \
!protein_iterator.isEnd(); ++protein_iterator)
Convenience macro for easy iteration over all proteins of {protein_container}.
|
|
Value: for (residue_iterator = (residue_container).beginResidue(); \
!residue_iterator.isEnd(); \
++residue_iterator)
Convenience macro for easy iteration over all residues of {residue_container}.
|
|
Value: for (secondary_structure_iterator = (secondary_structure_container).beginSecondaryStructure(); \
!secondary_structure_iterator.isEnd(); ++secondary_structure_iterator)
Convenience macro for easy iteration over all secondary structures of {secondary_structure_container}.
|
|
These classes can be used to hold pointers to kernel objects. They are returned by kernel extractors. These lists are a convenient way to execute operations on subsets of kernel structures and an often convenient, albeit slower, alternative to iterators. |
|
Extract all base fragments from a kernel data structure.
|
|
Extract atoms matching an expression.
This method extracts all atoms from an atom list that match the Expression
|
|
Extract atoms matching an expression.
This method extracts all atoms of a kernel data structure into a list that match the Expression
|
|
Extract all bonds from an atom. This function returns all bonds of an atom. |
|
Extract all bonds from a kernel data structure.
This function extracts all bonds from the atoms contained in the base fragment. If |
|
Extract all chains from a kernel data structure.
|
|
Bond cloning method. This template function implements the cloning of Bond s in AtomContainers. As Bonds are not integrated in the Composite tree structure of kernel objects, a simple deep cloning of a composite only copies all composites down to atoms. Bonds are not included because they are not children of the atoms but stored in a bond array. However, cloning of any kernel objects should naturally clone bonds, too. The implementation of this {cloning-with-bonds} is divided in two parts: first, a deep (recursive) cloning of all composites is performed. Second, the root composite (which is always an AtomContainer) calls cloneBonds for the cloned system to copy the bonds.
|
|
Extract all fragments from a kernel data structure.
|
|
Extract all molecules from a kernel data structure.
|
|
Extract all nucleic acids from a kernel data structure.
|
|
Extract all nucleotides from a kernel data structure.
|
|
Extract PDB atoms matching an expression.
This method extracts all PDB atoms of a kernel data structure into a list that match the Expression
|
|
Extract all proteins from a kernel data structure.
|
|
Extract all residues from a kernel data structure.
|
|
Extract all secondary structures from a kernel data structure.
|
|
Global static variable needed for the cloning of kernel objects containing bonds. Namespace: BALL
|
|
Global static instance of the periodic table.
|