OEGetPDBAtomIndex¶
unsigned int OEGetPDBAtomIndex(const char *name)
Returns an unsigned integer index encoding the atom name.
The returned index is from the OEPDBAtomName
namespace.
If the PDB atom name is not recognized then the
OEGetPDBAtomIndex
function returns OEPDBAtomName::UNK
.
unsigned int OEGetPDBAtomIndex(const OEAtomBase *atm)
Returns an unsigned integer index encoding the atom name
that is returned by the OEAtomBase::GetName
method.
The returned index is from the OEPDBAtomName
namespace.
Note
The PDB atom name index returned by the OEGetPDBAtomIndex
function may be converted back into a string using
the OEGetPDBAtomName
function.