OEGetResidueName

const char *OEGetResidueName(unsigned int idx)

Converts an OEChem TK residue index, as returned by the OEGetResidueIndex function, back into a three-character string representation. Valid indices are specified in OEChemTK’s OEResidueIndex namespace.

A NULL pointer, (char*)0, is returned for invalid or unrecognized argument values. All other returned string constants are guaranteed to be three characters long. For example, the input value OEResidueIndex_ALA returns the string value "ALA".