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
DataSpace getSpace() const
getSpace
Selection(const DataSpace &memspace, const DataSpace &file_space, const DataSet &set)
DataSpace getMemSpace() const
getMemSpace
DataSet & getDataset()
getDataSet
Selection: represent a view on a slice/part of a dataset.
Definition: H5Selection.hpp:27


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