h5cpp  0.5.0
A modern C++ wrapper for the HDF5 C library
hdf5::error::H5CError Class Reference

runtime exception containing an HDF5 error H5CError More...

#include <h5c_error.hpp>

Inheritance diagram for hdf5::error::H5CError:
Collaboration diagram for hdf5::error::H5CError:

Public Member Functions

 H5CError (const std::list< Descriptor > &H5CError)
 constructor More...
 
const char * what () const noexcept override
 printout of error H5CError More...
 
const std::list< Descriptor > & contents () const
 access to error H5CError More...
 
bool empty () const
 what it says More...
 

Detailed Description

This is an exception class specifically for passing on an HDF5 error H5CError. The error H5CError is accessible as a standard list of Descriptor objects. Upon construction, the object also generates a string containing the a printout of the H5CError.

Constructor & Destructor Documentation

◆ H5CError()

hdf5::error::H5CError::H5CError ( const std::list< Descriptor > &  H5CError)
inline

Constructs a runtime exception object containing an HDF5 error H5CError. Should only be used internally by the library.

Parameters
H5CErrora linked list of HDF5 error descriptors

Member Function Documentation

◆ contents()

const std::list< Descriptor > & hdf5::error::H5CError::contents ( ) const
inline

Returns reference to list of error descriptors.

◆ empty()

bool hdf5::error::H5CError::empty ( ) const
inline

Convenience function

◆ what()

const char * hdf5::error::H5CError::what ( ) const
inlineoverridenoexcept

Returns the pre-generated string containing a printout of the error H5CError.


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