point selection implementation
More...
#include <points.hpp>
◆ Points() [1/3]
hdf5::dataspace::Points::Points |
( |
| ) |
|
|
default |
We use the compiler provided default implementation.
◆ ~Points()
hdf5::dataspace::Points::~Points |
( |
| ) |
|
|
overridedefault |
Use the compiler provided default implementation.
◆ Points() [2/3]
hdf5::dataspace::Points::Points |
( |
size_t |
rank | ) |
|
|
explicit |
Create a new point selection or a given rank
- Parameters
-
rank | the number of dimensions of the selection |
◆ Points() [3/3]
hdf5::dataspace::Points::Points |
( |
const std::vector< std::vector< hsize_t >> & |
coord_set | ) |
|
|
explicit |
Create a point selection from a set of selection coordinates. The number of dimensions of the first coordinates determines the rank of the selection.
- Parameters
-
coord_set | set of selection coordinates |
◆ add()
void hdf5::dataspace::Points::add |
( |
const std::vector< hsize_t > & |
coords | ) |
|
- Parameters
-
coords | index coordinates of the point |
- Exceptions
-
runtime_error | in the case of a failure |
◆ add_set()
void hdf5::dataspace::Points::add_set |
( |
const std::vector< std::vector< hsize_t >> & |
coord_set | ) |
|
- Parameters
-
- Exceptions
-
runtime_error | in the case of a failure |
◆ apply()
- Parameters
-
space | reference to the dataspace onto which the selection should be applied |
ops | opertion used to apply the selection |
Implements hdf5::dataspace::Selection.
◆ dimensions()
virtual Dimensions hdf5::dataspace::Points::dimensions |
( |
| ) |
const |
|
overridevirtual |
Get a number of elements along each dimension a selection spans this is particularly useful in the case of a Hyperslab
- Exceptions
-
std::runtime_error | in case of a failure |
- Returns
- the selection dimentsions
Implements hdf5::dataspace::Selection.
◆ points()
size_t hdf5::dataspace::Points::points |
( |
| ) |
const |
- Returns
- number of points as unsigned integer
◆ rank()
size_t hdf5::dataspace::Points::rank |
( |
| ) |
const |
- Returns
- number of dimensions of the selection.
◆ size()
virtual size_t hdf5::dataspace::Points::size |
( |
| ) |
const |
|
overridevirtual |
Get the total number of elements adressed by an individual selection
- Exceptions
-
std::runtime_error | in case of a failure |
- Returns
- the selection type enumerator
Implements hdf5::dataspace::Selection.
◆ type()
The documentation for this class was generated from the following file:
- /home/jenkins/h5cpp/src/h5cpp/dataspace/points.hpp