#include <GslError.h>
Public Member Functions | |
GslError (const std::string &r="", const std::string &f="", const int l=0, const int c=0) | |
constructor | |
bool | operator< (const GslError &right) const |
comparison (ordering) criteria | |
Public Attributes | |
std::string | reason |
error message ('reason') | |
std::string | file |
file name | |
int | line |
line number | |
int | code |
error code (GSL) |
Definition at line 16 of file GslError.h.
GslError::GslError | ( | const std::string & | r = "" , |
|
const std::string & | f = "" , |
|||
const int | l = 0 , |
|||
const int | c = 0 | |||
) | [inline] |
bool GslError::operator< | ( | const GslError & | right | ) | const [inline] |
comparison (ordering) criteria
Definition at line 34 of file GslError.h.
00035 { 00036 return 00037 code < right.code ? true : 00038 right.code < code ? false : 00039 reason < right.reason ? true : 00040 right.reason < reason ? false : 00041 file < right.file ? true : 00042 right.file < file ? false : line < right.line ; 00043 };
std::string GslError::reason |
std::string GslError::file |
int GslError::line |
int GslError::code |