h5cpp
0.6.0
A modern C++ wrapper for the HDF5 C library
|
Classes | |
class | TypeTrait< std::array< T, N > > |
class | TypeTrait< std::vector< T > > |
class | Dataspace |
dataspace base class More... | |
class | Hyperslab |
hyperslab selection class More... | |
class | Points |
point selection implementation More... | |
class | DataspacePool |
data space object pool More... | |
class | Scalar |
scalar dataspace More... | |
class | Selection |
selection base class More... | |
struct | OperationWithSelection |
class | SelectionManager |
interface for selection management More... | |
class | Simple |
simple multidimensional dataspace More... | |
class | TypeTrait |
type trait for dataspace construction More... | |
class | DataspaceHolder |
data space object holder More... | |
class | View |
guard object for selections More... | |
class | TypeTrait< ArrayAdapter< T > > |
dataspace type trait for adapters More... | |
Typedefs | |
using | SelectionPair = std::pair< SelectionOperation, Selection::SharedPointer > |
using | SelectionList = std::list< OperationWithSelection > |
Enumerations | |
enum class | Type : std::underlying_type< H5S_class_t >::type { Scalar = H5S_SCALAR , Simple = H5S_SIMPLE , NoData = H5S_NULL } |
enum class | SelectionType : std::underlying_type< H5S_sel_type >::type { None = H5S_SEL_NONE , Points = H5S_SEL_POINTS , Hyperslab = H5S_SEL_HYPERSLABS , All = H5S_SEL_ALL } |
selection type More... | |
enum class | SelectionOperation : std::underlying_type< H5S_seloper_t >::type { Set = H5S_SELECT_SET , Or = H5S_SELECT_OR , And = H5S_SELECT_AND , XOr = H5S_SELECT_XOR , NotB = H5S_SELECT_NOTB , NotA = H5S_SELECT_NOTA , Append = H5S_SELECT_APPEND , Prepend = H5S_SELECT_PREPEND } |
selection operator More... | |
Functions | |
Dataspace | operator|| (const Dataspace &space, const Hyperslab &selection) |
SelectionList | operator| (const Hyperslab &a, const Hyperslab &b) |
SelectionList & | operator| (SelectionList &selections, const Hyperslab &b) |
Dataspace | operator|| (const Dataspace &space, const SelectionList &selections) |
std::ostream & | operator<< (std::ostream &stream, const Type &t) |
std::ostream & | operator<< (std::ostream &stream, const SelectionType &t) |
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 > | |
const dataspace::Dataspace & | get (const T &value, DataspacePool &pool) |
factory function for dataspace const references 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 |
determine the datatype instance
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 |
const dataspace::Dataspace& hdf5::dataspace::get | ( | const T & | value, |
DataspacePool & | pool | ||
) |
This factory function uses TypeTrait to create a new dataspace const reference for a particular instance of T.
T | type for which to construct a dataspace |
value | instance of T |
pool | dataspace pool |
std::ostream& hdf5::dataspace::operator<< | ( | std::ostream & | stream, |
const SelectionOperation & | o | ||
) |
std::ostream& hdf5::dataspace::operator<< | ( | std::ostream & | stream, |
const SelectionType & | t | ||
) |
std::ostream& hdf5::dataspace::operator<< | ( | std::ostream & | stream, |
const Type & | t | ||
) |
SelectionList hdf5::dataspace::operator| | ( | const Hyperslab & | a, |
const Hyperslab & | b | ||
) |
SelectionList& hdf5::dataspace::operator| | ( | SelectionList & | selections, |
const Hyperslab & | b | ||
) |
Dataspace hdf5::dataspace::operator|| | ( | const Dataspace & | space, |
const SelectionList & | selections | ||
) |
void* hdf5::dataspace::ptr | ( | T & | value | ) |