H5Selection.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 H5SELECTION_HPP
10 #define H5SELECTION_HPP
11 
12 #include "H5DataSet.hpp"
13 #include "H5Object.hpp"
14 
15 #include "bits/H5Slice_traits.hpp"
16 
17 namespace HighFive {
18 
19 template <typename Derivate>
20 class SliceTraits;
21 
27 class Selection : public SliceTraits<Selection> {
28  public:
33  DataSpace getSpace() const;
34 
40  DataSpace getMemSpace() const;
41 
47  const DataSet& getDataset() const;
48 
49  private:
50  Selection(const DataSpace& memspace, const DataSpace& file_space,
51  const DataSet& set);
52 
55 
56  template <typename Derivate>
57  friend class ::HighFive::SliceTraits;
58  // absolute namespace naming due to GCC bug 52625
59 };
60 }
61 
63 
64 #endif // H5SELECTION_HPP
HighFive::Selection
Selection: represent a view on a slice/part of a dataset.
Definition: H5Selection.hpp:27
H5Object.hpp
H5Slice_traits.hpp
H5Selection_misc.hpp
HighFive::Selection::_mem_space
DataSpace _mem_space
Definition: H5Selection.hpp:53
HighFive::SliceTraits
Definition: H5Slice_traits.hpp:26
H5DataSet.hpp
HighFive::Selection::getDataset
DataSet & getDataset()
getDataSet
Definition: H5Selection_misc.hpp:25
HighFive::Selection::getMemSpace
DataSpace getMemSpace() const
getMemSpace
Definition: H5Selection_misc.hpp:23
HighFive::DataSpace
Definition: H5DataSpace.hpp:30
HighFive::Selection::_set
DataSet _set
Definition: H5Selection.hpp:54
HighFive::Selection::getSpace
DataSpace getSpace() const
getSpace
Definition: H5Selection_misc.hpp:21
HighFive::Selection::Selection
Selection(const DataSpace &memspace, const DataSpace &file_space, const DataSet &set)
Definition: H5Selection_misc.hpp:17
HighFive::Selection::_file_space
DataSpace _file_space
Definition: H5Selection.hpp:53
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