Loading include/dca/io/adios2/adios2_reader.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ public: * file may have multiple iterations in it. * Each iteration is a step in the adios file for many variables. */ std::size_t getStepCount() { return file_.Steps(); } long getStepCount() { return file_.Steps(); } // `execute` returns true if the object is read correctly. Loading include/dca/io/hdf5/hdf5_reader.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -68,7 +68,7 @@ public: std::string get_path() const; std::size_t getStepCount(); long getStepCount(); template <typename arbitrary_struct_t> static void from_file(arbitrary_struct_t& arbitrary_struct, std::string file_name); Loading include/dca/io/hdf5/hdf5_writer.hpp +2 −1 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ public: void open_file(std::string file_name_ref, bool overwrite = true); void close_file(); void legacy_close_file(); bool open_group(std::string new_path); void close_group(); Loading include/dca/io/json/json_reader.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ public: // the root group. bool close_group() noexcept; std::size_t getStepCount() { return 0; } long getStepCount() { return 0; } std::string get_path() { return {}; } Loading include/dca/io/reader.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ public: std::visit([&](auto& var) { var.close_group(); }, reader_); } std::size_t getStepCount() { long getStepCount() { return std::visit([&](auto& var) ->std::size_t { return var.getStepCount(); }, reader_); } Loading Loading
include/dca/io/adios2/adios2_reader.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ public: * file may have multiple iterations in it. * Each iteration is a step in the adios file for many variables. */ std::size_t getStepCount() { return file_.Steps(); } long getStepCount() { return file_.Steps(); } // `execute` returns true if the object is read correctly. Loading
include/dca/io/hdf5/hdf5_reader.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -68,7 +68,7 @@ public: std::string get_path() const; std::size_t getStepCount(); long getStepCount(); template <typename arbitrary_struct_t> static void from_file(arbitrary_struct_t& arbitrary_struct, std::string file_name); Loading
include/dca/io/hdf5/hdf5_writer.hpp +2 −1 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ public: void open_file(std::string file_name_ref, bool overwrite = true); void close_file(); void legacy_close_file(); bool open_group(std::string new_path); void close_group(); Loading
include/dca/io/json/json_reader.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ public: // the root group. bool close_group() noexcept; std::size_t getStepCount() { return 0; } long getStepCount() { return 0; } std::string get_path() { return {}; } Loading
include/dca/io/reader.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ public: std::visit([&](auto& var) { var.close_group(); }, reader_); } std::size_t getStepCount() { long getStepCount() { return std::visit([&](auto& var) ->std::size_t { return var.getStepCount(); }, reader_); } Loading