OEGetPDBAtomIndexΒΆ

unsigned int OEGetPDBAtomIndex(const char *name)

Returns an unsigned integer index encoding the atom name. The resulting index is from the OEPDBAtomName namespace.

If the PDB atom name isn’t recognized then the OEGetPDBAtomIndex function returns 0.

The PDB atom name index returned by this function may be converted back into a string using the OEGetPDBAtomName function.

unsigned int OEGetPDBAtomIndex(const OEAtomBase *atm)

Returns an unsigned integer index encoding the atom name by passing the name returned by the OEAtomBase.GetName method to the above function.