hops
Hdf5Reader.hpp
Go to the documentation of this file.
1 #ifndef HOPS_HDF5READER_HPP
2 #define HOPS_HDF5READER_HPP
3 
4 #include <fstream>
5 #include <string>
6 #include <vector>
7 
8 namespace hops {
9  class Hdf5Reader {
10  public:
11  Hdf5Reader() = delete;
12 
20  template<typename T>
21  static T read(const std::string &file, const std::string &pathToDataset);
22  };
23 }
24 
25 #endif //HOPS_HDF5READER_HPP
hops::Hdf5Reader::read
static T read(const std::string &file, const std::string &pathToDataset)
Reads an object of Type T from a dataset in an hdf5 file.
Definition: Hdf5Reader.cpp:7
hops::Hdf5Reader::Hdf5Reader
Hdf5Reader()=delete
hops::Hdf5Reader
Definition: Hdf5Reader.hpp:9
hops
Definition: CsvReader.hpp:8
string
NAME string(REPLACE ".cpp" "_bin" example_name ${example_filename}) if($
Definition: hops/Third-party/HighFive/src/examples/CMakeLists.txt:6