OEIsReadableΒΆ

bool OEIsReadable(unsigned int format)
bool OEIsReadable(const std::string &filename)
bool OEIsReadable(unsigned int format, unsigned int flavor)
bool OEIsReadable(const std::string &filename, unsigned int flavor)

Returns true if the supplied file format is readable by OEChem. The ‘filename’ can be a file name or a file extension. The ‘format’ parameter value should be drawn from the OEFormat namespace.