kylelutz / chemkit

A C++ library for molecular modelling, cheminformatics and molecular visualization.
http://www.chemkit.org
BSD 3-Clause "New" or "Revised" License
54 stars 26 forks source link

Rewrite fhz file format using STL iostreams #18

Closed kylelutz closed 12 years ago

kylelutz commented 13 years ago

The fhz file format should be rewritten using std::istream instead of QIODevice.

The read() method in the FhzFileFormat class in the fhz plugin should be changed from:

bool read(QIODevice *iodev, chemkit::MoleculeFile *file)

to:

bool read(std::istream &input, chemkit::MoleculeFile *file)
kylelutz commented 12 years ago

Implemented in: 83e41097b63b3dcbe7a29d23a3d95991e8892c1d