4.1 OECreateIUPACName

std::string OECreateIUPACName(const OEChem::OEMolBase &mol)

This function attempts to generate a ``reasonable'' IUPAC name for the given molecule, mol, and return the result in a C++ STL string. These ``reasonable'' names attempts to be one of the recommended IUPAC names for a compound, however occassionally this function may fall back to using IUPAC ``systematic'' naming for parts of a molecule. Any parts of a molecule that cannot be named, result in the substring BLAH appearing in the returned string.