Gaudi Framework, version v24r2

Home   Generated: Wed Dec 4 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
GslError Struct Reference

Helper class to represent GSL errors. More...

#include <GslError.h>

Collaboration diagram for GslError:
Collaboration graph
[legend]

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)
 

Detailed Description

Helper class to represent GSL errors.

Author
Vanya Belyaev Ivan.Belyaev
Date
29/04/2002

Definition at line 17 of file GslError.h.

Constructor & Destructor Documentation

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

constructor

Definition at line 29 of file GslError.h.

: reason ( r ) , file ( f ) , line ( l ) , code ( c ) {};

Member Function Documentation

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

comparison (ordering) criteria

Definition at line 35 of file GslError.h.

{
return
code < right.code ? true :
right.code < code ? false :
reason < right.reason ? true :
right.reason < reason ? false :
file < right.file ? true :
right.file < file ? false : line < right.line ;
};

Member Data Documentation

int GslError::code

error code (GSL)

Definition at line 27 of file GslError.h.

std::string GslError::file

file name

Definition at line 23 of file GslError.h.

int GslError::line

line number

Definition at line 25 of file GslError.h.

std::string GslError::reason

error message ('reason')

Definition at line 21 of file GslError.h.


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

Generated at Wed Dec 4 2013 14:33:16 for Gaudi Framework, version v24r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004