bool OEParseIUPACName(OEMolBase &mol, const char *name)
This function parses the compound name (not necessarily a systematic
or preferred IUPAC name) from the NUL-terminated string given by
name
, and places the processed molecule in mol
. This
function returns true
if the name could be parsed without
problems. When returning false
, the contents of mol
contain as much of the name as could be processed.