H5DataSet.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c), 2017, Adrien Devresse <adrien.devresse@epfl.ch>
3  *
4  * Distributed under the Boost Software License, Version 1.0.
5  * (See accompanying file LICENSE_1_0.txt or copy at
6  * http://www.boost.org/LICENSE_1_0.txt)
7  *
8  */
9 #ifndef H5DATASET_HPP
10 #define H5DATASET_HPP
11 
12 #include <vector>
13 
14 #include "H5Object.hpp"
16 #include "bits/H5Slice_traits.hpp"
17 
18 namespace HighFive {
19 
20 template <typename Derivate>
21 class NodeTraits;
22 template <typename Derivate>
23 class SliceTraits;
24 class DataType;
25 class DataSpace;
26 
27 class DataSet : public Object,
28  public SliceTraits<DataSet>,
29  public AnnotateTraits<DataSet> {
30  public:
31  size_t getStorageSize() const;
32 
37  DataType getDataType() const;
38 
43  DataSpace getSpace() const;
44 
50  DataSpace getMemSpace() const;
51 
57  size_t getOffset() const;
58 
64  void resize(const std::vector<size_t>& dims);
65 
66  private:
67  DataSet();
68  template <typename Derivate>
69  friend class ::HighFive::NodeTraits;
70 };
71 }
72 
73 #include "bits/H5DataSet_misc.hpp"
74 
75 #endif // H5DATASET_HPP
DataSpace getSpace() const
getSpace
void resize(const std::vector< size_t > &dims)
Change the size of the dataset.
DataSpace getMemSpace() const
getMemSpace
DataType getDataType() const
getDataType
size_t getOffset() const
getOffset
HDF5 Data Type.
Definition: H5DataType.hpp:21
size_t getStorageSize() const


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:06