libSplash
Public Member Functions | Public Attributes | List of all members
splash::Selection Class Reference

#include <Selection.hpp>

Collaboration diagram for splash::Selection:
Collaboration graph
[legend]

Public Member Functions

 Selection (Dimensions size_)
 
 Selection (Dimensions size_, Dimensions count_, Dimensions offset_)
 
 Selection (Dimensions size_, Dimensions count_, Dimensions offset_, Dimensions stride_)
 
void swapDims (uint32_t ndims)
 
std::string toString (void) const
 

Public Attributes

Dimensions size
 
Dimensions count
 
Dimensions offset
 
Dimensions stride
 

Detailed Description

1-3D dataset selection, similar to an HDF5 hyperslap.

Definition at line 37 of file Selection.hpp.

Constructor & Destructor Documentation

◆ Selection() [1/3]

splash::Selection::Selection ( Dimensions  size_)
inline

Constructor

Parameters
size_size of src buffer (select complete buffer)

Definition at line 46 of file Selection.hpp.

◆ Selection() [2/3]

splash::Selection::Selection ( Dimensions  size_,
Dimensions  count_,
Dimensions  offset_ 
)
inline

Constructor

Parameters
size_size of src buffer
count_size of selection within src buffer
offset_offset of selection within src buffer

Definition at line 62 of file Selection.hpp.

◆ Selection() [3/3]

splash::Selection::Selection ( Dimensions  size_,
Dimensions  count_,
Dimensions  offset_,
Dimensions  stride_ 
)
inline

Constructor

Parameters
size_size of src buffer
count_size of selection within src buffer
offset_offset of selection within src buffer
stride_stride of selection within src buffer

Definition at line 79 of file Selection.hpp.

Member Function Documentation

◆ swapDims()

void splash::Selection::swapDims ( uint32_t  ndims)
inline

Swap dimensions

Parameters
ndimsnumber of dimensions of this selection

Definition at line 93 of file Selection.hpp.

Here is the call graph for this function:

◆ toString()

std::string splash::Selection::toString ( void  ) const
inline

Create a string representation of this selection

Returns
string representation

Definition at line 106 of file Selection.hpp.

Here is the call graph for this function:

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