iRoCS Toolbox  1.1.0
Public Member Functions
BlitzAnalyzeError Class Reference

Error class for BlitzAnalyzeFile. More...

#include <BlitzAnalyzeError.hh>

Collaboration diagram for BlitzAnalyzeError:

Public Member Functions

 BlitzAnalyzeError ()
 Default constructor. More...
 
 BlitzAnalyzeError (const std::string &message)
 Creates an error object with the given message. More...
 
template<class DataType >
BlitzAnalyzeErroroperator<< (const DataType &data)
 Appends the given data to the message string. More...
 
std::string str () const
 Returns the error message. More...
 
const char * what () const
 

Detailed Description

Error class for BlitzAnalyzeFile.

Definition at line 40 of file BlitzAnalyzeError.hh.

Constructor & Destructor Documentation

◆ BlitzAnalyzeError() [1/2]

BlitzAnalyzeError::BlitzAnalyzeError ( )
inline

Default constructor.

Creates an object without error message.

See also
BlitzAnalyzeError::operator<<

Definition at line 49 of file BlitzAnalyzeError.hh.

◆ BlitzAnalyzeError() [2/2]

BlitzAnalyzeError::BlitzAnalyzeError ( const std::string &  message)
inline

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.

Parameters
messageerror message

Definition at line 60 of file BlitzAnalyzeError.hh.

Member Function Documentation

◆ operator<<()

template<class DataType >
BlitzAnalyzeError& BlitzAnalyzeError::operator<< ( const DataType &  data)
inline

Appends the given data to the message string.

Parameters
data

Definition at line 71 of file BlitzAnalyzeError.hh.

◆ str()

std::string BlitzAnalyzeError::str ( ) const
inline

Returns the error message.

Returns
error message

Definition at line 85 of file BlitzAnalyzeError.hh.

◆ what()

const char* BlitzAnalyzeError::what ( ) const
inline

Definition at line 89 of file BlitzAnalyzeError.hh.


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