OEIsValidSubSearchDatabase¶
Attention
This API is currently available in C++ and Python.
bool OEIsValidSubSearchDatabase(oemolistream &ifs)
bool OEIsValidSubSearchDatabase(const std::string &filename)
Returns true
if the given molecule stream or the file is a valid
substructure search database that was created by the
OECreateSubSearchDatabaseFile
function.
bool OEIsValidSubSearchDatabase(oemolistream &ifs,
const OESubSearchScreenTypeBase *)
bool OEIsValidSubSearchDatabase(const std::string &filename,
const OESubSearchScreenTypeBase *)
Returns true
if the given molecule stream or the file is a valid
substructure search database that was created by the
OECreateSubSearchDatabaseFile
function.
These functions also check if the database stores substructure search
screens with the given type.
See also
Code Example