CFEL - ASG Software Suite  2.5.0
CASS
Classes | Typedefs | Functions
hdf5 Namespace Reference

Classes

class  DatasetError
 Exception thrown when there is an error with the dataset. More...
 
class  Handler
 A handler for h5 files. More...
 
struct  partiality_t
 define the partiality parameter container More...
 

Typedefs

typedef std::vector< hsize_t > shape_t
 define the shape type More...
 
typedef std::list< std::string > dsetList_t
 define the list of dataset names More...
 

Functions

template<typename T >
hid_t H5Type ()
 traits for matching a build in type with the corresponding h5 type More...
 
template<>
hid_t H5Type< float > ()
 trait implementation for float More...
 
template<>
hid_t H5Type< double > ()
 trait implementation for double More...
 
template<>
hid_t H5Type< int > ()
 trait implementation for int More...
 
template<>
hid_t H5Type< uint64_t > ()
 trait implementation for unsigned 64 bit int More...
 
template<>
hid_t H5Type< uint32_t > ()
 trait implementation for unsigned 16 bit int More...
 
template<>
hid_t H5Type< uint16_t > ()
 trait implementation for unsigned 16 bit int More...
 
template<>
hid_t H5Type< uint8_t > ()
 trait implementation for unsigned 8 bit int More...
 
template<>
hid_t H5Type< char > ()
 trait implementation for char More...
 
herr_t dataset_iterator_func (hid_t, const char *name, const H5O_info_t *info, void *dlist)
 function to gather all datasets of the h5 file More...
 
herr_t group_iterator_func (hid_t loc_id, const char *name, const H5L_info_t *, void *slist)
 function to gather groups of h5 file More...
 

Typedef Documentation

typedef std::list<std::string> hdf5::dsetList_t

define the list of dataset names

Definition at line 46 of file hdf5_handle.hpp.

typedef std::vector<hsize_t> hdf5::shape_t

define the shape type

Definition at line 43 of file hdf5_handle.hpp.

Function Documentation

herr_t hdf5::dataset_iterator_func ( hid_t  ,
const char *  name,
const H5O_info_t *  info,
void *  dlist 
)
inline

function to gather all datasets of the h5 file

Parameters
unusednot used
namename the name name to be added
infothe info of the object
dlistpointer to the list that should be filled with the objects

Definition at line 131 of file hdf5_handle.hpp.

Referenced by hdf5::Handler::datasets().

herr_t hdf5::group_iterator_func ( hid_t  loc_id,
const char *  name,
const H5L_info_t *  ,
void *  slist 
)
inline

function to gather groups of h5 file

Parameters
loc_idthe location of the object
namename the name to be added
unusedparameter not used
slistpointer to the list that should be filled with groupnames

Definition at line 149 of file hdf5_handle.hpp.

References status.

Referenced by hdf5::Handler::rootGroups().

template<typename T >
hid_t hdf5::H5Type ( )
inline

traits for matching a build in type with the corresponding h5 type

Default

Exceptions
logic_errorreporting that the type is not supported by the H5 handling.

Definition at line 93 of file hdf5_handle.hpp.

template<>
hid_t hdf5::H5Type< char > ( )
inline

trait implementation for char

Definition at line 121 of file hdf5_handle.hpp.

template<>
hid_t hdf5::H5Type< double > ( )
inline

trait implementation for double

Definition at line 103 of file hdf5_handle.hpp.

template<>
hid_t hdf5::H5Type< float > ( )
inline

trait implementation for float

Definition at line 100 of file hdf5_handle.hpp.

template<>
hid_t hdf5::H5Type< int > ( )
inline

trait implementation for int

Definition at line 106 of file hdf5_handle.hpp.

template<>
hid_t hdf5::H5Type< uint16_t > ( )
inline

trait implementation for unsigned 16 bit int

Definition at line 115 of file hdf5_handle.hpp.

template<>
hid_t hdf5::H5Type< uint32_t > ( )
inline

trait implementation for unsigned 16 bit int

Definition at line 112 of file hdf5_handle.hpp.

template<>
hid_t hdf5::H5Type< uint64_t > ( )
inline

trait implementation for unsigned 64 bit int

Definition at line 109 of file hdf5_handle.hpp.

template<>
hid_t hdf5::H5Type< uint8_t > ( )
inline

trait implementation for unsigned 8 bit int

Definition at line 118 of file hdf5_handle.hpp.