CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
Exceptions
src
ZMexSeverity.cc
Go to the documentation of this file.
1
// ----------------------------------------------------------------------
2
//
3
// ZMexSeverity.cc - define severity codes & ancillary information
4
//
5
// Revision History:
6
// 971006 WEB Split out from ZMexSeverity.h
7
// 971113 WEB Updated to conform to standard coding techniques
8
// 980615 WEB Added namespace support
9
//
10
// ----------------------------------------------------------------------
11
12
13
#include "
CLHEP/Exceptions/ZMexSeverity.h
"
14
15
16
namespace
zmex
{
17
18
19
const
std::string
ZMexSeverityName
[
ZMexSEVERITYenumLAST
] = {
20
"NORMAL"
,
// ZMexNORMAL
21
"INFORMATIONAL"
,
// ZMexINFO
22
"WARNING"
,
// ZMexWARNING
23
"ERROR"
,
// ZMexERROR
24
"SEVERE"
,
// ZMexSEVERE
25
"FATAL"
,
// ZMexFATAL
26
"UNANTICIPATED PROBLEM"
,
// ZMexPROBLEM
27
};
28
29
30
const
char
ZMexSeverityLetter
[
ZMexSEVERITYenumLAST
] = {
31
' '
,
// ZMexNORMAL
32
'I'
,
// ZMexINFO
33
'W'
,
// ZMexWARNING
34
'E'
,
// ZMexERROR
35
'S'
,
// ZMexSEVERE
36
'F'
,
// ZMexFATAL
37
'?'
,
// ZMexPROBLEM
38
};
39
40
41
int
ZMexSeverityLimit
[
ZMexSEVERITYenumLAST
] = {
42
// Provide starting values to limit logging by severity
43
-1,
// ZMexNORMAL
44
-1,
// ZMexINFO
45
-1,
// ZMexWARNING
46
-1,
// ZMexERROR
47
-1,
// ZMexSEVERE
48
-1,
// ZMexFATAL
49
-1,
// ZMexPROBLEM
50
};
51
52
53
}
// namespace zmex
zmex::ZMexSeverityLetter
const char ZMexSeverityLetter[ZMexSEVERITYenumLAST]
Definition:
Exceptions/ZMexSeverity.h:76
zmex
Definition:
CLHEP/Exceptions/ZMerrno.h:52
zmex::ZMexSeverityLimit
int ZMexSeverityLimit[ZMexSEVERITYenumLAST]
Definition:
Exceptions/ZMexSeverity.h:78
zmex::ZMexSEVERITYenumLAST
Definition:
CLHEP/Exceptions/ZMexSeverity.h:66
ZMexSeverity.h
zmex::ZMexSeverityName
const std::string ZMexSeverityName[ZMexSEVERITYenumLAST]
Definition:
Exceptions/ZMexSeverity.h:74
Generated by
1.8.9.1