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 mopin file format using STL iostreams #21

Closed kylelutz closed 12 years ago

kylelutz commented 13 years ago

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

The read() method in the MopinFileFormat class in the mopac 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: 2e1078f75ea8b0a304c3c3c3faf8d120524857ed