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
DataSpace getSpace() const
getSpace
Selection(const DataSpace &memspace, const DataSpace &file_space, const DataSet &set)
DataSpace getMemSpace() const
getMemSpace
DataSet & getDataset()
getDataSet


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