H5Selection_misc.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_MISC_HPP
10 #define H5SELECTION_MISC_HPP
11 
12 #include "../H5Selection.hpp"
13 #include "H5Slice_traits_misc.hpp"
14 
15 namespace HighFive {
16 
17 inline Selection::Selection(const DataSpace& memspace,
18  const DataSpace& file_space, const DataSet& set)
19  : _mem_space(memspace), _file_space(file_space), _set(set) {}
20 
21 inline DataSpace Selection::getSpace() const { return _file_space; }
22 
23 inline DataSpace Selection::getMemSpace() const { return _mem_space; }
24 
25 inline DataSet& Selection::getDataset() { return _set; }
26 
27 inline const DataSet& Selection::getDataset() const { return _set; }
28 }
29 
30 #endif // H5SELECTION_MISC_HPP
H5Slice_traits_misc.hpp
HighFive::Selection::_mem_space
DataSpace _mem_space
Definition: H5Selection.hpp:53
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