CGEM BOSS 6.6.5.f
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
20class ExampleIssue : public ers::Issue {
21
22protected:
24public:
25 static const char* const CLASS_NAME ;
26 static const char* const PROCRASTINATION_LEVEL_KEY ;
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
Example issue.
Definition: ExampleIssue.h:20
virtual const char * get_class_name() const
static const char *const CLASS_NAME
Definition: ExampleIssue.h:25
static const char *const PROCRASTINATION_LEVEL_KEY
Definition: ExampleIssue.h:26
int procrastination_level() const
Source context for Issue.
severity_t severity() const
severity_t of the issue
enum ers::_severity_t severity_t