|
h5cpp
0.5.0
A modern C++ wrapper for the HDF5 C library
|
Classes | |
| class | Dataspace |
| dataspace base class More... | |
| class | DataspaceHolder |
| data space object holder More... | |
| class | DataspacePool |
| data space object pool 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 } |
| 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 | |
| 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 | ) |