const char *OEGetResidueName(unsigned int idx)
The OEGetResidueName
function converts an OEChem residue index,
as returned by the OEGetResidueIndex
function, back into a
three-character string representation. Valid indices are specified
in OEChem'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"
.