echelon
0.8.0
|
A handle to an HDF5 type. More...
#include <type.hpp>
Public Types | |
using | native_handle_type = hdf5::type |
Type of the underlying HDF5 low-level handle. | |
Public Member Functions | |
type ()=default | |
Initializes the handle with its null state. | |
type | clone () const |
Clones the type. More... | |
const native_handle_type & | native_handle () const |
The underlying HDF5 low-level handle. | |
operator bool () const | |
Tests the validity of the handle. | |
Static Public Member Functions | |
static type | char_ () |
Returns a handle to the primitive type 'char'. | |
static type | short_ () |
Returns a handle to the primitive type 'short'. | |
static type | int_ () |
Returns a handle to the primitive type 'int'. | |
static type | long_ () |
Returns a handle to the primitive type 'long'. | |
static type | long_long () |
Returns a handle to the primitive type 'long long'. | |
static type | uchar () |
Returns a handle to the primitive type 'unsigned char'. | |
static type | ushort () |
Returns a handle to the primitive type 'unsigned short'. | |
static type | uint () |
Returns a handle to the primitive type 'unsigned int'. | |
static type | ulong () |
Returns a handle to the primitive type 'unsigned long'. | |
static type | ulong_long () |
Returns a handle to the primitive type 'unsigned long long'. | |
static type | float_ () |
Returns a handle to the primitive type 'float'. | |
static type | double_ () |
Returns a handle to the primitive type 'double'. | |
static type | string () |
Returns a handle to the primitive type 'string'. | |
static type | object_reference () |
Returns a handle to the primitive type 'object reference'. | |
static type | compound_type (const type_layout &layout) |
Creates a new compound type using a given layout. More... | |
Related Functions | |
(Note that these are not member functions.) | |
bool | operator== (const type &lhs, const type &rhs) |
Tests two types for equality. More... | |
bool | operator!= (const type &lhs, const type &rhs) |
Tests two types for inequality. More... | |
bool | operator== (const type &lhs, const type &rhs) |
Tests two types for equality. More... | |
bool | operator!= (const type &lhs, const type &rhs) |
Tests two types for inequality. More... | |
A handle to an HDF5 type.
type echelon::type::clone | ( | ) | const |
Clones the type.
|
static |
Creates a new compound type using a given layout.
layout | the layout, which describes the type's structure |
Tests two types for inequality.
The same as !(lhs == rhs).
For a detailed description of type equality within echelon see operator==.
lhs | left-hand side of the comparison |
rhs | right-hand side of the comparison |
Tests two types for inequality.
The same as !(lhs == rhs).
For a detailed description of type equality within echelon see operator==.
lhs | left-hand side of the comparison |
rhs | right-hand side of the comparison |
Tests two types for equality.
Type equality within echelon is defined by the following rules:
lhs | left-hand side of the comparison |
rhs | right-hand side of the comparison |
Tests two types for equality.
Type equality within echelon is defined by the following rules:
lhs | left-hand side of the comparison |
rhs | right-hand side of the comparison |