BOSS
7.0.4
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
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
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 Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
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
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
w
z
Enumerations
d
e
g
h
p
r
s
t
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
WrongMarkerIssue.cxx
Go to the documentation of this file.
1
//Dear emacs, this is -*- c++ -*-
2
3
/**
4
* @file WrongMarkerIssue.cxx
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
* Implements the wrong-marker exception class
11
*/
12
13
#include "eformat/WrongMarkerIssue.h"
14
15
/**
16
* Strings to identify keys in ERS
17
*/
18
static
const
char
* CURRENT_MARKER_KEY =
"Current header marker"
;
19
static
const
char
* EXPECTED_MARKER_KEY =
"Expected header marker"
;
20
21
eformat::WrongMarkerIssue::WrongMarkerIssue
(
const
ers::Context
& context,
22
ers::severity_t
severity,
23
uint32_t current,
24
uint32_t expected)
25
26
:
eformat
::
Issue
(context,severity)
27
{
28
set_value
(CURRENT_MARKER_KEY,
current
);
29
set_value
(EXPECTED_MARKER_KEY,
expected
);
30
finish_setup
(
"Unexpected header marker found on stream"
);
31
}
32
33
uint32_t
eformat::WrongMarkerIssue::current
()
const
34
{
35
return
get_int_value(CURRENT_MARKER_KEY);
36
}
37
38
uint32_t
eformat::WrongMarkerIssue::expected
()
const
39
{
40
return
get_int_value(EXPECTED_MARKER_KEY);
41
}
eformat::Issue
Definition:
Event/eformat/eformat-00-00-04/eformat/Issue.h:23
eformat::WrongMarkerIssue::expected
uint32_t expected() const
Definition:
WrongMarkerIssue.cxx:38
eformat::WrongMarkerIssue::current
uint32_t current() const
Definition:
WrongMarkerIssue.cxx:33
eformat::WrongMarkerIssue::WrongMarkerIssue
WrongMarkerIssue(const ers::Context &context, ers::severity_t severity, uint32_t current, uint32_t expected)
Definition:
WrongMarkerIssue.cxx:21
ers::Context
Source context for Issue.
Definition:
Event/ers/ers-00-00-03/ers/Context.h:42
ers::Issue::set_value
void set_value(const std::string &key, uint8_t value)
Sets a value 8 bit unsigned.
Definition:
ers/ers-00-00-03/src/Issue.cxx:371
ers::Issue::finish_setup
void finish_setup(const std::string &message)
Finishes the setup of the Issue.
Definition:
ers/ers-00-00-03/src/Issue.cxx:568
eformat
Definition:
Event/eformat/eformat-00-00-04/eformat/BadVersionIssue.h:20
ers::severity_t
enum ers::_severity_t severity_t
source
Event
eformat
eformat-00-00-04
src
WrongMarkerIssue.cxx
Generated by
1.9.6