#include <gcu/chain.h>

Public Member Functions | |
| Chain (Bond *pBond, Atom *pAtom=NULL, TypeId Type=ChainType) | |
| Chain (Molecule *molecule, Bond *pBond, TypeId Type=ChainType) | |
| Chain (Molecule *molecule, Atom *pAtom, TypeId Type=ChainType) | |
| virtual | ~Chain () |
| void | FindCycles (Atom *pAtom) |
| bool | FindCycle (Atom *pAtom, Bond *pBond) |
| virtual void | Erase (Atom *pAtom1, Atom *pAtom2) |
| virtual void | Insert (Atom *pAtom1, Atom *pAtom2, Chain &chain) |
| void | Extract (Atom *pAtom1, Atom *pAtom2, Chain &chain) |
| void | Reverse () |
| void | AddBond (Atom *start, Atom *end) |
| unsigned | GetUnsaturations () |
| unsigned | GetHeteroatoms () |
| bool | Contains (Atom *pAtom) |
| bool | Contains (Bond *pBond) |
| unsigned | GetLength () |
| double | GetMeanBondLength () |
| Atom * | GetNextAtom (Atom *pAtom) |
| std::string | Name () |
Protected Attributes | |
| std::map< Atom *, ChainElt > | m_Bonds |
| Molecule * | m_Molecule |
Definition at line 59 of file chain.h.
| pBond | a bond. | |
| pAtom | an atom. | |
| Type | an optional type id used when constructing a derived type (i. e. a cycle). |
| molecule | a molecule. | |
| pBond | a bond in the molecule or NULL. | |
| Type | an optional type id used when constructing a derived type |
| molecule | a molecule. | |
| pAtom | an atom in the molecule. | |
| Type | an optional type id used when constructing a derived type |
| virtual gcu::Chain::~Chain | ( | ) | [virtual] |
The destructor.
| start | an atom. | |
| end | an atom. |
| bool gcu::Chain::Contains | ( | Bond * | pBond | ) |
| pBond | a bond. |
| bool gcu::Chain::Contains | ( | Atom * | pAtom | ) |
| pAtom | an atom. |
| pAtom1 | an atom in the source chain. | |
| pAtom2 | an atom in the source chain. |
Reimplemented in gcu::Cycle.
| pAtom1 | an atom in the chain. | |
| pAtom2 | an atom in the chain. | |
| chain | the target chain. |
| pAtom | an atom. | |
| pBond | a bond. |
| void gcu::Chain::FindCycles | ( | Atom * | pAtom | ) |
| pAtom | an atom. |
| unsigned gcu::Chain::GetHeteroatoms | ( | ) |
| unsigned gcu::Chain::GetLength | ( | ) |
| double gcu::Chain::GetMeanBondLength | ( | ) |
| pAtom | an atom in the chain. |
| unsigned gcu::Chain::GetUnsaturations | ( | ) |
| pAtom1 | an atom in the source chain. | |
| pAtom2 | an atom in the source chain. | |
| chain | the source chain. |
Reimplemented in gcu::Cycle.
| std::string gcu::Chain::Name | ( | ) | [virtual] |
Reimplemented from gcu::Object.
Reimplemented in gcu::Cycle.
| void gcu::Chain::Reverse | ( | ) |
Reverses the chain order.
std::map<Atom*, ChainElt> gcu::Chain::m_Bonds [protected] |
The gcu::ChainElt elements in the chain indexed by their common atom.
Molecule* gcu::Chain::m_Molecule [protected] |
1.5.9