4.68 OEGetPDBAtomName

const char* OEGetPDBAtomName(unsigned int idx)

The OEGetPDBAtomName function converts an OEChem PDB atom name index, as returned by the OEGetPDBAtomIndex function, back into a string representation. Valid indices are specified in OEChem's OEPDBAtomName namespace.

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