const OEResidue &OEAtomGetResidue(const OEAtomBase *atm)

This function is used to retrieve the OEResidue associated with an OEAtomBase. The OEResidue class is used to store information used in biopolymer processing, e.g. proteins and nucleic acids, on a per-atom basis. The residue properties of an atom may be set using the OEAtomSetResidue function.