BOSS
7.1.3
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
BadVersionIssue.h
Go to the documentation of this file.
1
//Dear emacs, this is -*- c++ -*-
2
3
/**
4
* @file eformat/BadVersionIssue.h
5
* @author <a href="mailto:Andre.dos.Anjos@cern.ch">Andre DOS ANJOS</a>
6
* $Author: zhangy $
7
* $Revision: 1.1.1.1 $
8
* $Date: 2009/06/19 07:35:41 $
9
*
10
* @brief Exception thrown when versions do not match
11
*/
12
13
#ifndef EFORMAT_BADVERSIONISSUE_H
14
#define EFORMAT_BADVERSIONISSUE_H
15
16
#include "
eformat/Issue.h
"
17
#include <cstdlib>
18
#include <stdint.h>
19
20
namespace
eformat
{
21
22
/**
23
* This exception is supposed to be thrown when version problems are found
24
*/
25
class
BadVersionIssue
:
public
eformat::Issue
{
26
27
public
:
//interface
28
29
/**
30
* Builds a new bad-version exception
31
*
32
* @param context The Error Reporting System context to be used to identify
33
* the spot where this issue was created
34
* @param severity The severity of this issue
35
* @param current The version number that this fragment has
36
* @param supported The version which is supposed to be supported here
37
*/
38
BadVersionIssue
(
const
ers::Context
& context,
ers::severity_t
severity
,
39
uint16_t
current
, uint16_t
supported
);
40
41
/**
42
* Destructor virtualisation
43
*/
44
virtual
~BadVersionIssue
() throw() {}
45
46
/**
47
* Access the current object version
48
*/
49
uint16_t
current
()
const
;
50
51
/**
52
* Access the supported version
53
*/
54
uint16_t
supported
()
const
;
55
56
};
25
class
BadVersionIssue
:
public
eformat::Issue
{
…
};
57
58
}
20
namespace
eformat
{
…
}
59
60
/**
61
* Simplifies the use of this Issue
62
*
63
* @param current The current version you are trying to read
64
* @param supported The supported version by this library
65
*/
66
#define EFORMAT_BAD_VERSION(current, supported) \
67
eformat::BadVersionIssue(ERS_HERE, ers::error, current, supported)
66
#define EFORMAT_BAD_VERSION(current, supported) \
…
68
69
#endif
/* EFORMAT_BADVERSIONISSUE_H */
eformat::BadVersionIssue::supported
uint16_t supported() const
Definition
BadVersionIssue.cxx:37
eformat::BadVersionIssue::BadVersionIssue
BadVersionIssue(const ers::Context &context, ers::severity_t severity, uint16_t current, uint16_t supported)
Definition
BadVersionIssue.cxx:21
eformat::BadVersionIssue::~BadVersionIssue
virtual ~BadVersionIssue()
Definition
BadVersionIssue.h:44
eformat::BadVersionIssue::current
uint16_t current() const
Definition
BadVersionIssue.cxx:32
eformat::Issue
Definition
eformat/eformat-00-01-00/eformat/Issue.h:23
ers::Context
Source context for Issue.
Definition
Context.h:42
ers::Issue::severity
severity_t severity() const
severity_t of the issue
Definition
ers/ers-00-00-03/src/Issue.cxx:602
Issue.h
Defines the base eformat Issue.
eformat
Definition
BadVersionIssue.h:20
ers::severity_t
enum ers::_severity_t severity_t
7.1.3
Event
eformat
eformat-00-01-00
eformat
BadVersionIssue.h
Generated by
1.13.2