Closed kylelutz closed 12 years ago
The txyz file format should be rewritten using std::istream instead of QIODevice.
std::istream
QIODevice
The read() method in the TxyzFileFormat class in the txyz plugin should be changed from:
read()
TxyzFileFormat
txyz
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)
Implemented in: dab0e3f7880511ced80056861a2ee794f4b6a329
The txyz file format should be rewritten using
std::istream
instead ofQIODevice
.The
read()
method in theTxyzFileFormat
class in thetxyz
plugin should be changed from:to:
And the
write()
method should be changed from:to: