Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
HighFive::Selection Class Reference

Selection: represent a view on a slice/part of a dataset. More...

#include <H5Selection.hpp>

Inheritance diagram for HighFive::Selection:
Inheritance graph
[legend]

Public Member Functions

DataSetgetDataset ()
 getDataSet More...
 
const DataSetgetDataset () const
 
DataSpace getMemSpace () const
 getMemSpace More...
 
DataSpace getSpace () const
 getSpace More...
 
- Public Member Functions inherited from HighFive::SliceTraits< Selection >
void read (T &array) const
 
void read (T *array) const
 
Selection select (const ElementSet &elements) const
 
Selection select (const std::vector< size_t > &columns) const
 
Selection select (const std::vector< size_t > &offset, const std::vector< size_t > &count, const std::vector< size_t > &stride=std::vector< size_t >()) const
 
void write (const T &buffer)
 
void write (const T *buffer)
 

Private Member Functions

 Selection (const DataSpace &memspace, const DataSpace &file_space, const DataSet &set)
 

Private Attributes

DataSpace _file_space
 
DataSpace _mem_space
 
DataSet _set
 

Friends

template<typename Derivate >
class ::HighFive::SliceTraits
 

Detailed Description

Selection: represent a view on a slice/part of a dataset.

A Selection is valid only if its parent dataset is valid

Definition at line 27 of file H5Selection.hpp.

Constructor & Destructor Documentation

◆ Selection()

HighFive::Selection::Selection ( const DataSpace memspace,
const DataSpace file_space,
const DataSet set 
)
inlineprivate

Definition at line 17 of file H5Selection_misc.hpp.

Member Function Documentation

◆ getDataset() [1/2]

const DataSet & HighFive::Selection::getDataset ( )
inline

getDataSet

Returns
parent dataset of this selection

Definition at line 25 of file H5Selection_misc.hpp.

◆ getDataset() [2/2]

const DataSet& HighFive::Selection::getDataset ( ) const

◆ getMemSpace()

DataSpace HighFive::Selection::getMemSpace ( ) const
inline

getMemSpace

Returns
Dataspace associated with the memory representation of this selection

Definition at line 23 of file H5Selection_misc.hpp.

◆ getSpace()

DataSpace HighFive::Selection::getSpace ( ) const
inline

getSpace

Returns
Dataspace associated with this selection

Definition at line 21 of file H5Selection_misc.hpp.

Friends And Related Function Documentation

◆ ::HighFive::SliceTraits

template<typename Derivate >
friend class ::HighFive::SliceTraits
friend

Definition at line 57 of file H5Selection.hpp.

Member Data Documentation

◆ _file_space

DataSpace HighFive::Selection::_file_space
private

Definition at line 53 of file H5Selection.hpp.

◆ _mem_space

DataSpace HighFive::Selection::_mem_space
private

Definition at line 53 of file H5Selection.hpp.

◆ _set

DataSet HighFive::Selection::_set
private

Definition at line 54 of file H5Selection.hpp.


The documentation for this class was generated from the following files:


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:26