echelon  0.8.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
echelon::hdf5::type Class Reference

A handle to an HDF5 type. More...

#include <type.hpp>

Public Types

using native_handle_type = hdf5::precursor::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_typenative_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...
 

Detailed Description

A handle to an HDF5 type.

Member Function Documentation

type echelon::hdf5::type::clone ( ) const

Clones the type.

Postcondition
t == t.clone()
Returns
a handle to the new type
type echelon::hdf5::type::compound_type ( const type_layout layout)
static

Creates a new compound type using a given layout.

Parameters
layoutthe layout, which describes the type's structure
Returns
a handle to the new compound type

The documentation for this class was generated from the following files: