unsigned int OEGetPDBAtomIndex(const OEAtomBase *atm)

Returns the an unsigned integer index encoding the atom name. The atom name is the value returned by the OEAtomBase.GetName method and the resulting index corresponds to a value in the OEPDBAtomName namespace.

If the PDB atom name of the given atom isn’t recognized the, 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 char *name)