BOSS
7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
DefaultIssue.h
Go to the documentation of this file.
1
/*
2
* DefaultIssue.h
3
* Test
4
*
5
* Created by Matthias Wiesmann on 14.02.05.
6
* Copyright 2005 CERN. All rights reserved.
7
*
8
*/
9
10
#ifndef ERS_DEFAULT_ISSUE
11
#define ERS_DEFAULT_ISSUE
12
13
#include "
ers/Issue.h
"
14
#include <cstdlib>
15
16
namespace
ers
{
17
18
/** This class acts as a placeholder for issues whose name could
19
* not be resolved at runtime.
20
* Because of this, it does not have the usual constructor
21
* and also does not have an associated class name, instead the
22
* class simply keeps the class name stored in the field \c m_class_name.
23
* \author Matthias Wiesmann
24
* \brief Place holder Issue class
25
* \version 1.0
26
* \note To force the resolution of an issue (i.e try again to cast it to the correct run-time type),
27
* One simply needs to call the \c IssueFactory::build method with the instance as a parameter.
28
*/
29
30
class
DefaultIssue
:
public
Issue
{
31
protected
:
32
public
:
33
DefaultIssue
(
const
std::string &name) ;
34
~DefaultIssue
()
throw
() ;
35
virtual
const
char
*
get_class_name
()
const
throw
() ;
/**< \brief Get key for class (used for serialisation)*/
36
} ;
// Issue
37
}
// ers
38
39
#endif
ers::DefaultIssue
Place holder Issue class.
Definition:
DefaultIssue.h:30
ers::DefaultIssue::get_class_name
virtual const char * get_class_name() const
Get key for class (used for serialisation)
Definition:
DefaultIssue.cxx:28
ers::DefaultIssue::~DefaultIssue
~DefaultIssue()
Definition:
DefaultIssue.cxx:21
ers::Issue
Root Issue class.
Definition:
ers/ers-00-00-03/ers/Issue.h:40
Issue.h
ers
Definition:
Event/ers/ers-00-00-03/ers/Assertion.h:20
source
Event
ers
ers-00-00-03
ers
DefaultIssue.h
Generated by
1.9.6