Selection: represent a view on a slice/part of a dataset.
More...
#include <H5Selection.hpp>
|
DataSpace | getSpace () const noexcept |
| getSpace
|
|
DataSpace | getMemSpace () const noexcept |
| getMemSpace
|
|
DataSet & | getDataset () noexcept |
| getDataSet
|
|
const DataSet & | getDataset () const noexcept |
|
const DataType | getDataType () const |
| return the datatype of the selection
|
|
Selection | select (const HyperSlab &hyperslab) const |
| Select an hyperslab in the current Slice/Dataset.
|
|
Selection | select (const HyperSlab &hyperslab, const DataSpace &memspace) const |
| Select an hyperslab in the current Slice/Dataset.
|
|
Selection | select (const std::vector< size_t > &offset, const std::vector< size_t > &count, const std::vector< size_t > &stride={}, const std::vector< size_t > &block={}) const |
| Select a region in the current Slice/Dataset of count points at offset separated by stride . If strides are not provided they will default to 1 in all dimensions.
|
|
Selection | select (const std::vector< size_t > &columns) const |
| Select a set of columns in the last dimension of this dataset.
|
|
Selection | select (const ElementSet &elements) const |
| Select a region in the current Slice/Dataset out of a list of elements.
|
|
T | read (const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | read (T &array, const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | read (T *array, const DataType &dtype, const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | read (T *array, const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | read_raw (T *array, const DataType &dtype, const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | read_raw (T *array, const DataTransferProps &xfer_props=DataTransferProps()) const |
|
void | write (const T &buffer, const DataTransferProps &xfer_props=DataTransferProps()) |
|
void | write_raw (const T *buffer, const DataType &mem_datatype, const DataTransferProps &xfer_props=DataTransferProps()) |
|
void | write_raw (const T *buffer, const DataTransferProps &xfer_props=DataTransferProps()) |
|
Selection: represent a view on a slice/part of a dataset.
A Selection is valid only if its parent dataset is valid
◆ Selection()
◆ getDataset() [1/2]
const DataSet & HighFive::Selection::getDataset |
( |
| ) |
const |
|
inlinenoexcept |
◆ getDataset() [2/2]
DataSet & HighFive::Selection::getDataset |
( |
| ) |
|
|
inlinenoexcept |
getDataSet
- Returns
- parent dataset of this selection
◆ getDataType()
const DataType HighFive::Selection::getDataType |
( |
| ) |
const |
|
inline |
return the datatype of the selection
- Returns
- return the datatype of the selection
◆ getMemSpace()
DataSpace HighFive::Selection::getMemSpace |
( |
| ) |
const |
|
inlinenoexcept |
getMemSpace
- Returns
- Dataspace associated with the memory representation of this selection
◆ getSpace()
DataSpace HighFive::Selection::getSpace |
( |
| ) |
const |
|
inlinenoexcept |
getSpace
- Returns
- Dataspace associated with this selection
The documentation for this class was generated from the following files: