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
HighFive::DataSet::getDataType
DataType getDataType() const
getDataType
Definition: H5DataSet_misc.hpp:40
H5Object.hpp
HighFive::AnnotateTraits
Definition: H5Annotate_traits.hpp:23
H5Slice_traits.hpp
SingleArray
Definition: data_types.h:107
HighFive::DataType
HDF5 Data Type.
Definition: H5DataType.hpp:21
HighFive::SliceTraits
Definition: H5Slice_traits.hpp:26
H5DataSet_misc.hpp
HighFive::DataSet::getMemSpace
DataSpace getMemSpace() const
getMemSpace
Definition: H5DataSet_misc.hpp:55
HighFive::Object
Definition: H5Object.hpp:21
HighFive::DataSet::getSpace
DataSpace getSpace() const
getSpace
Definition: H5DataSet_misc.hpp:46
H5Annotate_traits.hpp
HighFive::DataSet::getOffset
size_t getOffset() const
getOffset
Definition: H5DataSet_misc.hpp:57
HighFive::DataSet::resize
void resize(const std::vector< size_t > &dims)
Change the size of the dataset.
Definition: H5DataSet_misc.hpp:66
HighFive::DataSet::getStorageSize
size_t getStorageSize() const
Definition: H5DataSet_misc.hpp:36
HighFive::DataSpace
Definition: H5DataSpace.hpp:30
HighFive::DataSet::DataSet
DataSet()
Definition: H5DataSet_misc.hpp:34
HighFive::DataSet
Definition: H5DataSet.hpp:27
HighFive
Definition: H5Annotate_traits.hpp:14


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 Wed Mar 2 2022 00:37:23