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 cube file format using STL iostreams #17

Closed kylelutz closed 13 years ago

kylelutz commented 13 years ago

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

The read() method in the CubeFileFormat class in the cube plugin should be changed from:

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

to:

bool read(std::istream &input, chemkit::MoleculeFile *file)