2 #ifndef LVR2_IO_HDF5_ARRAYIO_HPP 3 #define LVR2_IO_HDF5_ARRAYIO_HPP 6 #include <boost/shared_array.hpp> 10 namespace hdf5features {
12 template<
typename Derived>
18 std::string groupName,
19 std::string datasetName,
23 boost::shared_array<T>
load(
24 std::string groupName,
25 std::string datasetName,
29 boost::shared_array<T>
load(
30 std::string groupName,
31 std::string datasetName,
32 std::vector<size_t>& dim);
35 boost::shared_array<T>
load(
37 std::string datasetName,
38 std::vector<size_t>& dim
43 std::string groupName,
44 std::string datasetName,
46 boost::shared_array<T> data);
50 std::string groupName,
51 std::string datasetName,
52 std::vector<size_t>& dimensions,
53 boost::shared_array<T> data);
57 std::string groupName,
58 std::string datasetName,
59 std::vector<size_t>& dimensions,
60 std::vector<hsize_t>& chunkSize,
61 boost::shared_array<T> data);
65 std::string datasetName,
66 std::vector<size_t>& dim,
67 std::vector<hsize_t>& chunkSize,
68 boost::shared_array<T>& data);
79 #include "ArrayIO.tcc" boost::shared_array< T > loadArray(std::string groupName, std::string datasetName, size_t &size)
void save(std::string groupName, std::string datasetName, size_t size, boost::shared_array< T > data)
boost::shared_array< T > load(std::string groupName, std::string datasetName, size_t &size)