PetaVision / OpenPV

PetaVision is a C++ library for designing and deploying large-scale neurally-inspired computational models.
http://petavision.github.io
Eclipse Public License 1.0
40 stars 13 forks source link

PV_Stream struct removed #277

Closed peteschultz closed 5 years ago

peteschultz commented 5 years ago

This pull request eliminates the PV_Stream struct, based on the stdio FILE type. This struct was redundant with the FileStream class, based on C++ streams. The functions PV_fopen, PV_ftell, PV_fseek, PV_fwrite, PV_fread, and PV_fclose have been removed from fileio.cpp/fileio.hpp.

The pull request also moves pvp-file related macros from io.hpp to BufferUtilsPvp.hpp, and the ParamsIOFlag enum to PVParams.hpp.

This corrects pull request https://github.com/PetaVision/OpenPV/pull/276, which was merged into master, when it should have been merged into develop. The merge into master has been reverted.