| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
GslError Struct Reference

Helper class to represent GSL errors. More...

`#include <GaudiGSL/GslError.h>`

Collaboration diagram for GslError:
[legend]

## Public Member Functions
| GslError (std::string r="", std::string f="", const int l=0, const int c=0)
| constructor More...
bool | operator< (const GslError &right) const
| comparison (ordering) criteria More...

## Public Attributes
std::string | reason
| error message ('reason') More...
std::string | file
| file name More...
int | line
| line number More...
int | code
| error code (GSL) More...

## Detailed Description

Helper class to represent GSL errors.

Author
  Vanya Belyaev Ivan.Belyaev

Date
  29/04/2002

Definition at line 15 of file GslError.h.

## Constructor & Destructor Documentation

GslError::GslError | ( | std::string | r = `""`,
|  | std::string | f = `""`,
|  | const int | l = `0`,
|  | const int | c = `0`
| ) |  |
| inline

constructor

Definition at line 27 of file GslError.h.

31 : reason ( std::move(r) ) , file ( std::move(f) ) , line ( l ) , code ( c ) {};
GslError::reason
std::string reason
error message ('reason')
Definition: GslError.h:19
GslError::file
std::string file
file name
Definition: GslError.h:21
GslError::code
int code
error code (GSL)
Definition: GslError.h:25
gaudirun.c
tuple c
Definition: gaudirun.py:391
GslError::line
int line
line number
Definition: GslError.h:23
std::move
T move(T...args)
gaudirun.l
dictionary l
Definition: gaudirun.py:421

## Member Function Documentation

bool GslError::operator< | ( | const GslError & | right | ) | const
| inline

comparison (ordering) criteria

Definition at line 33 of file GslError.h.

34 {
35 return
36 code < right.code ? true :
37 right.code < code ? false :
38 reason < right.reason ? true :
39 right.reason < reason ? false :
40 file < right.file ? true :
41 right.file < file ? false : line < right.line ;
42 };
GslError::reason
std::string reason
error message ('reason')
Definition: GslError.h:19
GslError::file
std::string file
file name
Definition: GslError.h:21
GslError::code
int code
error code (GSL)
Definition: GslError.h:25
GslError::line
int line
line number
Definition: GslError.h:23

## Member Data Documentation

int GslError::code

error code (GSL)

Definition at line 25 of file GslError.h.

std::string GslError::file

file name

Definition at line 21 of file GslError.h.

int GslError::line

line number

Definition at line 23 of file GslError.h.

std::string GslError::reason

error message ('reason')

Definition at line 19 of file GslError.h.

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

- GaudiGSL/GaudiGSL/GslError.h