Gaudi Framework, version v21r11

Home   Generated: 30 Sep 2010

GslError Struct Reference

Helper class to represent GSL errors. More...

#include <GslError.h>

List of all members.

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.

00033     : 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.

00036   {
00037     return
00038       code         < right.code   ? true  :
00039       right.code   <       code   ? false :
00040       reason       < right.reason ? true  :
00041       right.reason <       reason ? false :
00042       file         < right.file   ? true  :
00043       right.file   <       file   ? false : line < right.line ;
00044   };


Member Data Documentation

error message ('reason')

Definition at line 21 of file GslError.h.

file name

Definition at line 23 of file GslError.h.

line number

Definition at line 25 of file GslError.h.

error code (GSL)

Definition at line 27 of file GslError.h.


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

Generated at Thu Sep 30 09:58:31 2010 for Gaudi Framework, version v21r11 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004