The Gaudi Framework
v26r3
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
GslError.h
Go to the documentation of this file.
1
// $Id: GslError.h,v 1.2 2003/11/19 16:55:57 mato Exp $
2
// ============================================================================
3
#ifndef GAUDIGSL_GSLERROR_H
4
#define GAUDIGSL_GSLERROR_H 1
5
// Include files
6
#include "GaudiKernel/Kernel.h"
7
// STD & STL
8
#include <string>
9
17
class
GAUDI_API
GslError
18
{
19
public
:
21
std::string reason ;
23
std::string
file
;
25
int
line
;
27
int
code ;
29
GslError
(
const
std::string& r =
""
,
30
const
std::string& f =
""
,
31
const
int
l
= 0 ,
32
const
int
c
= 0 )
33
: reason ( r ) , file ( f ) , line (
l
) , code (
c
) {};
35
bool
operator<
(
const
GslError
& right )
const
36
{
37
return
38
code < right.
code
?
true
:
39
right.
code
< code ?
false
:
40
reason < right.
reason
?
true
:
41
right.
reason
< reason ?
false
:
42
file < right.
file
?
true
:
43
right.
file
< file ?
false
: line < right.
line
;
44
};
45
};
46
47
// ============================================================================
48
// The END
49
// ============================================================================
50
#endif // GSLERROR_H
51
// ============================================================================
GslError::reason
std::string reason
error message ('reason')
Definition:
GslError.h:21
gaudirun.c
tuple c
Definition:
gaudirun.py:390
GslError::file
std::string file
file name
Definition:
GslError.h:23
GslError
Helper class to represent GSL errors.
Definition:
GslError.h:17
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:108
GslError::code
int code
error code (GSL)
Definition:
GslError.h:27
GslError::line
int line
line number
Definition:
GslError.h:25
ana.file
list file
Definition:
ana.py:160
gaudirun.l
dictionary l
Definition:
gaudirun.py:420
operator<
bool operator<(const Gaudi::Time &t1, const Gaudi::Time &t2)
Definition:
Time.icpp:233
ana.line
int line
Definition:
ana.py:50
GaudiGSL
GaudiGSL
GslError.h
Generated on Tue Jul 21 2015 12:23:30 for The Gaudi Framework by
1.8.9.1