h5cpp
0.3.3
A modern C++ wrapper for the HDF5 C library
|
Classes | |
class | Dataspace |
dataspace base class More... | |
class | Hyperslab |
hyperslab selection class More... | |
struct | OperationWithSelection |
class | Points |
point selection implementation More... | |
class | Scalar |
scalar dataspace More... | |
class | Selection |
selection base class More... | |
class | SelectionManager |
interface for selection management More... | |
class | Simple |
simple multidimensional dataspace More... | |
class | TypeTrait |
type trait for dataspace construction More... | |
class | TypeTrait< ArrayAdapter< T > > |
dataspace type trait for adapters More... | |
class | TypeTrait< std::array< T, N > > |
class | TypeTrait< std::vector< T > > |
class | View |
guard object for selections More... | |
Typedefs | |
using | SelectionPair = std::pair< SelectionOperation, Selection::SharedPointer > |
using | SelectionList = std::list< OperationWithSelection > |
Enumerations | |
enum | Type : std::underlying_type< H5S_class_t >::type { Type::SCALAR = H5S_SCALAR, Type::SIMPLE = H5S_SIMPLE, Type::NODATA = H5S_NULL } |
determine the datatype instance More... | |
enum | SelectionType : std::underlying_type< H5S_sel_type >::type { SelectionType::NONE = H5S_SEL_NONE, SelectionType::POINTS = H5S_SEL_POINTS, SelectionType::HYPERSLAB = H5S_SEL_HYPERSLABS, SelectionType::ALL = H5S_SEL_ALL } |
selection type More... | |
enum | SelectionOperation : std::underlying_type< H5S_seloper_t >::type { SelectionOperation::SET = H5S_SELECT_SET, SelectionOperation::OR = H5S_SELECT_OR, SelectionOperation::AND = H5S_SELECT_AND, SelectionOperation::XOR = H5S_SELECT_XOR, SelectionOperation::NOTB = H5S_SELECT_NOTB, SelectionOperation::NOTA = H5S_SELECT_NOTA, SelectionOperation::APPEND = H5S_SELECT_APPEND, SelectionOperation::PREPEND = H5S_SELECT_PREPEND } |
selection operator More... | |
Functions | |
DLL_EXPORT Dataspace | operator|| (const Dataspace &space, const Hyperslab &selection) |
DLL_EXPORT Dataspace | operator|| (const Dataspace &space, const SelectionList &selections) |
DLL_EXPORT std::ostream & | operator<< (std::ostream &stream, const Type &t) |
DLL_EXPORT std::ostream & | operator<< (std::ostream &stream, const SelectionType &t) |
DLL_EXPORT std::ostream & | operator<< (std::ostream &stream, const SelectionOperation &o) |
template<typename T > | |
TypeTrait< T >::DataspaceType | create (const T &value) |
factory function for dataspaces More... | |
template<typename T > | |
void * | ptr (T &value) |
template<typename T > | |
const void * | cptr (const T &value) |
using hdf5::dataspace::SelectionList = typedef std::list<OperationWithSelection> |
using hdf5::dataspace::SelectionPair = typedef std::pair<SelectionOperation, Selection::SharedPointer> |
|
strong |
|
strong |
Determines what kind of selection is applied to a datatype. Like datapsace::Type this identifies the particular type of selection when given only a reference to dataspace::Selection.
Enumerator | |
---|---|
NONE | nothing is selected |
POINTS | the selection is a point selection (dataspace::Points) |
HYPERSLAB | the selection is a hyperslab selection (dataspace::Hyperslab) |
ALL | everything is selected |
|
strong |
This enumeration type is primarily used to identify the particular type of dataspace when given only a reference to dataspace::Dataspace.
Enumerator | |
---|---|
SCALAR | the dataspace is an instance of dataspace::Scalar |
SIMPLE | the dataspace is an instance of dataspace::Simple |
NODATA | the dataspace is an instance of dataspace::Null
|
const void* hdf5::dataspace::cptr | ( | const T & | value | ) |
TypeTrait<T>::DataspaceType hdf5::dataspace::create | ( | const T & | value | ) |
This factory function uses TypeTrait to create a new dataspace for a particular instance of T.
T | type for which to construct a dataspace |
value | instance of T |
DLL_EXPORT std::ostream& hdf5::dataspace::operator<< | ( | std::ostream & | stream, |
const Type & | t | ||
) |
DLL_EXPORT std::ostream& hdf5::dataspace::operator<< | ( | std::ostream & | stream, |
const SelectionType & | t | ||
) |
DLL_EXPORT std::ostream& hdf5::dataspace::operator<< | ( | std::ostream & | stream, |
const SelectionOperation & | o | ||
) |
DLL_EXPORT Dataspace hdf5::dataspace::operator|| | ( | const Dataspace & | space, |
const SelectionList & | selections | ||
) |
DLL_EXPORT Dataspace hdf5::dataspace::operator|| | ( | const Dataspace & | space, |
const Hyperslab & | selection | ||
) |
void* hdf5::dataspace::ptr | ( | T & | value | ) |