CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
ExampleIssue.h
Go to the documentation of this file.
1
/*
2
* ExampleIssue.h
3
* Test
4
*
5
* Created by Matthias Wiesmann on 24.01.05.
6
* Copyright 2005 CERN. All rights reserved.
7
*
8
*/
9
10
#include "
ers/Issue.h
"
11
12
13
/** This class is an example of an user issue.
14
* It contains a integer member field
15
* \brief Example issue
16
* \author Matthias Wiesmann
17
* \version 1.0
18
*/
19
20
class
ExampleIssue
:
public
ers::Issue
{
21
22
protected
:
23
ExampleIssue
(
const
ers::Context
& context,
ers::severity_t
severity
) ;
24
public
:
25
static
const
char
*
const
CLASS_NAME
;
26
static
const
char
*
const
PROCRASTINATION_LEVEL_KEY
;
27
ExampleIssue
();
28
ExampleIssue
(
const
ers::Context
& context,
ers::severity_t
severity
,
int
procrastination_level
) ;
29
virtual
const
char
*
get_class_name
()
const
throw() ;
30
int
procrastination_level
() const ;
31
} ;
// ExempleIssue
32
33
#define EXAMPLE_ERROR(level) ExampleIssue(ERS_HERE,ers_error,level)
34
35
ExampleIssue
Example issue.
Definition
ExampleIssue.h:20
ExampleIssue::get_class_name
virtual const char * get_class_name() const
Definition
ExampleIssue.cxx:73
ExampleIssue::CLASS_NAME
static const char *const CLASS_NAME
Definition
ExampleIssue.h:25
ExampleIssue::PROCRASTINATION_LEVEL_KEY
static const char *const PROCRASTINATION_LEVEL_KEY
Definition
ExampleIssue.h:26
ExampleIssue::procrastination_level
int procrastination_level() const
Definition
ExampleIssue.cxx:62
ExampleIssue::ExampleIssue
ExampleIssue()
Definition
ExampleIssue.cxx:38
ers::Context
Source context for Issue.
Definition
Context.h:42
ers::Issue
Root Issue class.
Definition
ers/ers-00-00-03/ers/Issue.h:40
ers::Issue::severity
severity_t severity() const
severity_t of the issue
Definition
ers/ers-00-00-03/src/Issue.cxx:602
Issue.h
ers::severity_t
enum ers::_severity_t severity_t
6.6.5.h
Event
ers
ers-00-00-03
test
ExampleIssue.h
Generated by
1.12.0