OECreateSlnString

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

Creates a Tripos SLN string representing a given molecule. Several variants of SLN format are supported by using different flavors from the OESLNFlag namespace.