4.35 OECreateSmiString

void OECreateSmiString(std::string &str, const OEMolBase &mol,
                       unsigned int flavor = OESMILESFlag::DEFAULT)

Create a SMILES string representing a given molecule. Several variants of SMILES format are supported by using different bits of the ``flavor'' parameter.