Closed kylelutz closed 12 years ago
The mdl family of file formats (mdl, mol, sd, sdf) should be rewritten using std::istream and std::ostream instead of QIODevice.
std::istream
std::ostream
QIODevice
The read() method in the MdlFileFormat class in the mdl plugin should be changed from:
read()
MdlFileFormat
mdl
bool read(QIODevice *iodev, chemkit::MoleculeFile *file)
to:
bool read(std::istream &input, chemkit::MoleculeFile *file)
And the write() method should be changed from:
write()
bool write(const chemkit::MoleculeFile *file, QIODevice *iodev)
bool write(const chemkit::MoleculeFile *file, std::ostream &output)
Resolved by: 1e526523330f45fa53960afb871c2ba8db9cc34c
The mdl family of file formats (mdl, mol, sd, sdf) should be rewritten using
std::istream
andstd::ostream
instead ofQIODevice
.The
read()
method in theMdlFileFormat
class in themdl
plugin should be changed from:to:
And the
write()
method should be changed from:to: