OEIsWriteable

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

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

See also