h5cpp
0.5.0
A modern C++ wrapper for the HDF5 C library
|
Classes | |
class | Array |
array datatype More... | |
class | Compound |
compound data type More... | |
class | Datatype |
base class for all data types More... | |
class | DatatypeHolder |
data type object holder More... | |
class | Enum |
compound data type More... | |
class | Float |
class | float16_t |
class | Integer |
HDF5 integer datatype. More... | |
class | String |
string datatype More... | |
class | TypeTrait |
trait to create HDF5 datatypes More... | |
class | TypeTrait< ArrayAdapter< T > > |
datatype type trait for array adapters | |
class | TypeTrait< bool > |
class | TypeTrait< char > |
class | TypeTrait< datatype::EBool > |
class | TypeTrait< datatype::float16_t > |
class | TypeTrait< double > |
class | TypeTrait< float > |
class | TypeTrait< int > |
class | TypeTrait< long > |
class | TypeTrait< long double > |
class | TypeTrait< long long > |
class | TypeTrait< short > |
class | TypeTrait< signed char > |
class | TypeTrait< std::array< T, N > > |
class | TypeTrait< std::basic_string< CharT > > |
class | TypeTrait< std::complex< T > > |
class | TypeTrait< std::string > |
class | TypeTrait< std::vector< T > > |
class | TypeTrait< unsigned char > |
class | TypeTrait< unsigned int > |
class | TypeTrait< unsigned long > |
class | TypeTrait< unsigned long long > |
class | TypeTrait< unsigned short > |
class | VLengthArray |
variable length array type More... | |
Enumerations | |
enum | EBool : int8_t { False = 0, True = 1 } |
enumeration bool type More... | |
enum | Class : std::underlying_type< H5T_class_t >::type { Class::None = H5T_NO_CLASS, Class::Integer = H5T_INTEGER, Class::Float = H5T_FLOAT, Class::Time = H5T_TIME, Class::String = H5T_STRING, Class::BitField = H5T_BITFIELD, Class::Opaque = H5T_OPAQUE, Class::Compound = H5T_COMPOUND, Class::Reference = H5T_REFERENCE, Class::Enum = H5T_ENUM, Class::VarLength = H5T_VLEN, Class::Array = H5T_ARRAY } |
enum | Order : std::underlying_type< H5T_order_t >::type { Order::LE = H5T_ORDER_LE, Order::BE = H5T_ORDER_BE, Order::Vax = H5T_ORDER_VAX, Order::None = H5T_ORDER_NONE } |
enumeration type for byte order More... | |
enum | Sign : std::underlying_type< H5T_sign_t >::type { Sign::TwosComplement = H5T_SGN_2, Sign::Unsigned = H5T_SGN_NONE } |
enumeration for sign More... | |
enum | Norm : std::underlying_type< H5T_norm_t >::type { Norm::Implied = H5T_NORM_IMPLIED, Norm::MSBSet = H5T_NORM_MSBSET, Norm::None = H5T_NORM_NONE } |
enumeration describes mantissa norm More... | |
enum | Pad : std::underlying_type< H5T_pad_t >::type { Pad::Zero = H5T_PAD_ZERO, Pad::One = H5T_PAD_ONE, Pad::Background = H5T_PAD_BACKGROUND } |
enumeration for floating point padding More... | |
enum | StringPad : std::underlying_type< H5T_str_t >::type { StringPad::NullTerm = H5T_STR_NULLTERM, StringPad::NullPad = H5T_STR_NULLPAD, StringPad::SpacePad = H5T_STR_SPACEPAD } |
enumeration determining string padding More... | |
enum | Direction : std::underlying_type< H5T_direction_t >::type { Direction::Ascend = H5T_DIR_ASCEND, Direction::Descend = H5T_DIR_DESCEND } |
enum | CharacterEncoding : std::underlying_type< H5T_cset_t >::type { CharacterEncoding::ASCII = H5T_CSET_ASCII, CharacterEncoding::UTF8 = H5T_CSET_UTF8 } |
character set encoding More... | |
Functions | |
bool | is_bool (const Enum &etype) |
check if Enum is EBool More... | |
bool | operator== (const Datatype &lhs, const Datatype &rhs) |
equality check for datatypes More... | |
bool | operator!= (const Datatype &lhs, const Datatype &rhs) |
inequality check for datatypes More... | |
template<typename T > | |
TypeTrait< typename std::remove_const< T >::type >::TypeClass | create (const T &v=T()) |
factory function for creating data types More... | |
template<typename T > | |
const Datatype & | get (const T &v=T()) |
factory function for getting reference of data types More... | |
std::ostream & | operator<< (std::ostream &stream, const Class &c) |
stream output operator for the Class enumeration More... | |
std::ostream & | operator<< (std::ostream &stream, const Order &o) |
output stream operator for the Order enumeration More... | |
std::ostream & | operator<< (std::ostream &stream, const Sign &s) |
output stream for Sign enumeration More... | |
std::ostream & | operator<< (std::ostream &stream, const Norm &n) |
stream output operator for the Norm enumeration More... | |
std::ostream & | operator<< (std::ostream &stream, const Pad &p) |
stream output operator for Pad enumerations More... | |
std::ostream & | operator<< (std::ostream &stream, const StringPad &pad) |
stream output operator for StringPad enumerations More... | |
std::ostream & | operator<< (std::ostream &stream, const Direction &d) |
stream output operator for Direction enumerations More... | |
std::ostream & | operator<< (std::ostream &stream, const CharacterEncoding &enc) |
stream output operator for CharacterEncoding enumerations More... | |
Variables | |
const decltype(H5T_VARIABLE) | kVariable = H5T_VARIABLE |
|
strong |
|
strong |
data type class
Enumeration type describing the class a particular data type belongs to.
|
strong |
enum hdf5::datatype::EBool : int8_t |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
TypeTrait<typename std::remove_const<T>::type>::TypeClass hdf5::datatype::create | ( | const T & | v = T() | ) |
const Datatype& hdf5::datatype::get | ( | const T & | v = T() | ) |
bool hdf5::datatype::is_bool | ( | const Enum & | etype | ) |
etype | object |
std::ostream& hdf5::datatype::operator<< | ( | std::ostream & | stream, |
const CharacterEncoding & | enc | ||
) |
stream | reference to an output stream |
enc | reference to a CharacterEncoding enumeration instance |
std::ostream& hdf5::datatype::operator<< | ( | std::ostream & | stream, |
const Class & | c | ||
) |
stream | reference to the output stream |
c | reference to the class enumeration |
std::ostream& hdf5::datatype::operator<< | ( | std::ostream & | stream, |
const Direction & | d | ||
) |
stream | reference to an output stream |
d | reference to a Direction enumeration instance |
std::ostream& hdf5::datatype::operator<< | ( | std::ostream & | stream, |
const Norm & | n | ||
) |
stream | reference to the output stream |
n | refernece to a Norm enumeration instance |
std::ostream& hdf5::datatype::operator<< | ( | std::ostream & | stream, |
const Order & | o | ||
) |
stream | reference to the output stream |
o | reference to an Order enumeration instance |
std::ostream& hdf5::datatype::operator<< | ( | std::ostream & | stream, |
const Pad & | p | ||
) |
stream | reference to the output stream |
p | reference to a Pad enumeratino instance |
std::ostream& hdf5::datatype::operator<< | ( | std::ostream & | stream, |
const Sign & | s | ||
) |
stream | reference to the output stream |
s | reference to the Sign enumeration |
std::ostream& hdf5::datatype::operator<< | ( | std::ostream & | stream, |
const StringPad & | pad | ||
) |
stream | reference to an output stream |
pad | reference to a StringPad enumeration instance |
const decltype(H5T_VARIABLE) hdf5::datatype::kVariable = H5T_VARIABLE |