The Gaudi Framework
v26r0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
Kernel.h
GslError::file
std::string file
file name
Definition:
GslError.h:23
GslError
Helper class to represent GSL errors.
Definition:
GslError.h:17
GslError::code
int code
error code (GSL)
Definition:
GslError.h:27
gaudirun.c
tuple c
Definition:
gaudirun.py:341
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:365
GslError::GslError
GslError(const std::string &r="", const std::string &f="", const int l=0, const int c=0)
constructor
Definition:
GslError.h:29
GslError::operator<
bool operator<(const GslError &right) const
comparison (ordering) criteria
Definition:
GslError.h:35
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:108
ana.line
int line
Definition:
ana.py:50
GaudiGSL
GaudiGSL
GslError.h
Generated on Tue Jan 20 2015 20:27:18 for The Gaudi Framework by
1.8.7