h5cpp
0.6.1
A modern C++ wrapper for the HDF5 C library
|
top-level namespace of the entire library
Namespaces | |
attribute | |
dataspace | |
datatype | |
error | |
file | |
filter | |
node | |
namespace for node like objects and related functions | |
property | |
Classes | |
class | Context |
class | FixedLengthStringBuffer |
struct | FixedLengthStringTrait |
struct | FixedLengthStringTrait< std::string > |
struct | FixedLengthStringTrait< std::vector< std::string > > |
class | IOWriteBuffer |
class | IOReadBuffer |
class | Iterator |
class | IteratorConfig |
iterator configuration More... | |
class | ObjectHandle |
Wrapper for hid_t object identifiers. More... | |
class | ObjectId |
Unique ID of an HDF5 object. More... | |
class | Path |
path to a node object More... | |
struct | VarLengthBufferTrait |
variable length buffer trait More... | |
struct | VarLengthStringTrait |
variable length string buffer trait More... | |
struct | VarLengthStringTrait< std::string > |
struct | VarLengthStringTrait< std::vector< std::string > > |
class | Version |
a 3 number version class More... | |
class | ArrayAdapter |
adapter for C-style arrays More... | |
Typedefs | |
using | Dimensions = std::vector< hsize_t > |
using | VarLengthDataBuffer = std::vector< hvl_t > |
template<typename CharT > | |
using | VarLengthStringBuffer = std::vector< CharT * > |
buffer for variable length string data More... | |
Enumerations | |
enum class | IterationOrder : std::underlying_type< H5_iter_order_t >::type { Increasing = H5_ITER_INC , Decreasing = H5_ITER_DEC , Native = H5_ITER_NATIVE } |
enum class | IterationIndex : std::underlying_type< H5_index_t >::type { Name = H5_INDEX_NAME , CreationOrder = H5_INDEX_CRT_ORDER } |
iteration index More... | |
Functions | |
Iterator | operator+ (const Iterator &a, ssize_t b) |
Iterator | operator+ (ssize_t a, const Iterator &b) |
Iterator | operator- (const Iterator &a, ssize_t b) |
ssize_t | operator- (const Iterator &a, const Iterator &b) |
std::ostream & | operator<< (std::ostream &stream, const IterationOrder &order) |
ouput stream for iteration order enumeration More... | |
std::ostream & | operator<< (std::ostream &stream, const IterationIndex &index) |
bool | operator== (const ObjectHandle &lhs, const ObjectHandle &rhs) |
equality operator More... | |
bool | operator!= (const ObjectHandle &lhs, const ObjectHandle &rhs) |
not equal to operator More... | |
std::ostream & | operator<< (std::ostream &stream, const ObjectHandle::Type &type) |
output operator for Types More... | |
std::ostream & | operator<< (std::ostream &os, const ObjectId &p) |
stream output operator for ObjectId class More... | |
bool | operator== (const Path &lhs, const Path &rhs) |
checks two paths for equality More... | |
Path | common_base (const Path &lhs, const Path &rhs) |
checks two paths for equality base More... | |
bool | operator!= (const Path &lhs, const Path &rhs) |
Path | operator+ (const Path &lhs, const Path &rhs) |
std::ostream & | operator<< (std::ostream &stream, const Path &path) |
std::ostream & | operator<< (std::ostream &stream, const Version &version) |
output stream operator More... | |
bool | operator== (const Version &lhs, const Version &rhs) |
checks two version for equality More... | |
bool | operator!= (const Version &lhs, const Version &rhs) |
checks if two versions are not equal More... | |
bool | operator<= (const Version &lhs, const Version &rhs) |
checks if the left version is smaller or equal to the right More... | |
bool | operator< (const Version &lhs, const Version &rhs) |
checks if the left version is strictly small than the right More... | |
bool | operator>= (const Version &lhs, const Version &rhs) |
checks if the left version is bigger or equal than the right More... | |
bool | operator> (const Version &lhs, const Version &rhs) |
checks if the left version is strictly bigger than the right More... | |
Version | current_library_version () |
returns the current version of the HDF5 library More... | |
template<typename T > | |
Dimensions | get_dimensions (const ArrayAdapter< T > adapter) |
get dimensions for an array adapter instance More... | |
using hdf5::Dimensions = typedef std::vector<hsize_t> |
using hdf5::VarLengthDataBuffer = typedef std::vector<hvl_t> |
using hdf5::VarLengthStringBuffer = typedef std::vector<CharT*> |
Variable length string requires and intermediate data structure to be transfered from and to disk. This template provides the basic buffer type used to transfer data.
CharT | the character tyep used for the strings |
|
strong |
|
strong |
Version hdf5::current_library_version | ( | ) |
std::runtime_error | in case of a failure |
Dimensions hdf5::get_dimensions | ( | const ArrayAdapter< T > | adapter | ) |
This utility function returns the dimensions of a particular array adapter instance.
T | type of the array elements |
adapter | reference to the array adapter for which to get the dimensions |
bool hdf5::operator!= | ( | const ObjectHandle & | lhs, |
const ObjectHandle & | rhs | ||
) |
Simply the inverse of the == operator.
lhs | reference to the left hand side version |
rhs | reference to the right hand side version |
lhs | reference to the left hand side version |
rhs | reference to the right hand side version |
friend std::ostream& hdf5::operator<< | ( | std::ostream & | os, |
const ObjectId & | p | ||
) |
std::ostream& hdf5::operator<< | ( | std::ostream & | stream, |
const IterationIndex & | index | ||
) |
std::ostream& hdf5::operator<< | ( | std::ostream & | stream, |
const IterationOrder & | order | ||
) |
std::ostream& hdf5::operator<< | ( | std::ostream & | stream, |
const ObjectHandle::Type & | type | ||
) |
std::ostream& hdf5::operator<< | ( | std::ostream & | stream, |
const Path & | path | ||
) |
std::ostream& hdf5::operator<< | ( | std::ostream & | stream, |
const Version & | version | ||
) |
Writes an instance of Version to a std::ostream. The output format is the same as for Version::to_string.
stream | the stream where to write the version |
version | reference to the Version to write |
lhs | reference to the left hand side version |
rhs | reference to the right hand side version |
bool hdf5::operator== | ( | const ObjectHandle & | lhs, |
const ObjectHandle & | rhs | ||
) |
Two instances of ObjectHandle are considered equal when their internal representation have equal value. This is not a sufficient criteria for object equality!
Two paths are considered equal if each of their elements is
Two version are considered equal if all of their parts are equal.
lhs | reference to the left hand side version |
rhs | reference to the right hand side version |
lhs | reference to the left hand side version |
rhs | reference to the right hand side version |