74 explicit Points (
const std::vector<std::vector<hsize_t>>& coord_set);
96 void add (
const std::vector<hsize_t>& coords);
104 void add_set (
const std::vector<std::vector<hsize_t>>& coord_set);
124 virtual size_t size()
const override;
150 #pragma warning(push)
151 #pragma warning(disable: 4251)
153 std::vector<hsize_t> coordinates_;
dataspace base class
Definition: dataspace.hpp:41
point selection implementation
Definition: points.hpp:42
~Points() override=default
destructor
size_t points() const
get the number of points in the selection
virtual size_t size() const override
get the selection size
virtual Dimensions dimensions() const override
get current dimensions
Points(const std::vector< std::vector< hsize_t >> &coord_set)
constructor
void add_set(const std::vector< std::vector< hsize_t >> &coord_set)
add point set to the selection
size_t rank() const
get the number of dimensions
void add(const std::vector< hsize_t > &coords)
add a new point to the selection
Points()=default
default constructor
virtual SelectionType type() const override
get the selection type
Points(size_t rank)
constructor
void apply(const Dataspace &space, SelectionOperation ops) const override
apply the selection to a dataspace
selection base class
Definition: selection.hpp:42
SelectionOperation
selection operator
Definition: type.hpp:95
SelectionType
selection type
Definition: type.hpp:71
top-level namespace of the entire library
Definition: attribute.hpp:45
std::vector< hsize_t > Dimensions
Definition: types.hpp:32
#define DLL_EXPORT
Definition: windows.hpp:29