Closed kylelutz closed 12 years ago
The mol2 file format should be rewritten using std::istream instead of QIODevice.
std::istream
QIODevice
The read() method in the Mol2FileFormat class in the sybyl plugin should be changed from:
read()
Mol2FileFormat
sybyl
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)
Completed in: ca39e6c2b6f0ce8b529c0cdf59149f3d18b4cd6c
The mol2 file format should be rewritten using
std::istream
instead ofQIODevice
.The
read()
method in theMol2FileFormat
class in thesybyl
plugin should be changed from:to:
And the
write()
method should be changed from:to: