class OEHierResidue
This is the lowest temporary object in the hierarchical view.
OEHierResidue objects are available from within the
OEHierFragment object and give access to the OEAtomBase objects
within the molecule at the time the parent OEHierView was created. Any
atom deletions or additions after the creation of the OEHierView will
not be available in the object. However, changes to atoms or bonds will be
available via the OEAtomBase api. The bonds of a molecule are not
directly available throught the OEHierView object, but instead must be
accessed via the OEAtomBase::GetBonds api point.
OEHierResidue(); OEHierResidue(const OEHierResidue &);
Default and copy constructors
OEHierResidue &operator=(const OEHierResidue &);
Default assignment operator
~OEHierResidue();
Cleans up all memory and destroys object.
int GetResidueNumber() const;
Returns the integer representation of the residue number for this residue of the fragment.
const OEResidue &GetOEResidue() const;
This returns an arbitrary OEResidue object associated with this OEHierResidue.
OEChem::OEAtomBase *GetAtom(const char* resName,
int resIdx, unsigned pdbAtomIdx);
const OEChem::OEAtomBase *GetAtom(const char* resName,
int resIdx, unsigned pdbAtomIdx) const;
Returns an atom specified by the residue name, residue number and atom name.
OESystem::OEIterBase<OEAtomBase>* GetAtoms(); OESystem::OEIterBase<const OEAtomBase>* GetAtoms() const;
Returns an interator over all of the atoms in the residue.