Gaudi Framework, version v25r0
Home
Generated: Mon Feb 17 2014
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
GaudiGSL
GaudiGSL
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
// ============================================================================
Generated at Mon Feb 17 2014 14:37:41 for Gaudi Framework, version v25r0 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004