libpniio
Data Structures | Functions
HDF5 implementation error classes
Collaboration diagram for HDF5 implementation error classes:

Data Structures

class  pni::io::nx::h5::h5_error
 HDF5 error record. More...
 
class  pni::io::nx::h5::h5_error_stack
 HDF5 error stack. More...
 

Functions

std::ostream & pni::io::nx::h5::operator<< (std::ostream &o, const h5_error &e)
 ouput stream operator More...
 
std::ostream & pni::io::nx::h5::operator<< (std::ostream &o, const h5_error_stack &s)
 ostream operator More...
 
herr_t pni::io::nx::h5::_error_walker (unsigned n, const H5E_error2_t *eptr, void *client_data)
 Walker functins to read over error messages. More...
 
pni::core::string pni::io::nx::h5::get_h5_error_string ()
 return HDF5 error messages More...
 

Detailed Description

Exception classes related to the HDF5 implementation. The classes and functions provided by this module to not throw exceptions by themselves. The rational behind this design decision is rather simple: these functions and classes are used when higher level objects throw exceptions. If they would do so by themselves they would might cover the original exception.

Function Documentation

herr_t pni::io::nx::h5::_error_walker ( unsigned  n,
const H5E_error2_t *  eptr,
void *  client_data 
)
Parameters
nundocumented
eptrpointer to error stack
client_datadata passed by the client to the walker code
Returns
HDF5 error code
string pni::io::nx::h5::get_h5_error_string ( )

Returns all the error messages in the actual HDF5 error stack as a string.

Returns
error messages
std::ostream & pni::io::nx::h5::operator<< ( std::ostream &  o,
const h5_error_stack &  s 
)
std::ostream & pni::io::nx::h5::operator<< ( std::ostream &  o,
const h5_error &  e 
)