OECreateSmiString¶
void OECreateSmiString(std::string &str, const OEMolBase &mol,
unsigned int flavor=OESMILESFlag::DEFAULT,
std::pair<const OEAtomBase *,const OEAtomBase *> *atmord= 0)
Creates a SMILES string representing a given molecule.
Several variants of SMILES format are supported by using different
flavors from the OESMILESFlag
namespace.
Note
OEGetSmiStringOrder
function can be used
to return an iterator over atoms, in the order in which they appear in the SMILES string.
OEChem TK function |
calling |
---|---|
|
|
|
[1] OEMolToSmiles
is a high-level function that perceives necessary properties before generating canonical isomeric SMILES