iRoCS Toolbox
1.1.0
|
The main error class for the BlitzHDF5 interface. More...
#include <BlitzHdf5Light.hh>
Public Member Functions | |
BlitzH5Error () | |
Default constructor. More... | |
BlitzH5Error (const std::string &message) | |
Creates an error object with the given message. More... | |
~BlitzH5Error () throw () | |
Default destructor. More... | |
template<typename DataT > | |
BlitzH5Error & | operator<< (DataT const &data) |
Appends the given data to the message string. More... | |
std::string const & | str () const |
Returns the error message. More... | |
char const * | what () const throw () |
Returns the error message as c-string. More... | |
The main error class for the BlitzHDF5 interface.
Definition at line 74 of file BlitzHdf5Light.hh.
BlitzH5Error::BlitzH5Error | ( | ) |
Default constructor.
Creates an object without error message.
Referenced by BlitzH5File::id().
BlitzH5Error::BlitzH5Error | ( | const std::string & | message | ) |
Creates an error object with the given message.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
message | error message |
BlitzH5Error::~BlitzH5Error | ( | ) | ||
throw | ( | |||
) |
Default destructor.
BlitzH5Error& BlitzH5Error::operator<< | ( | DataT const & | data | ) |
Appends the given data to the message string.
data |
std::string const& BlitzH5Error::str | ( | ) | const |
Returns the error message.
char const* BlitzH5Error::what | ( | ) | const | |
throw | ( | |||
) |
Returns the error message as c-string.