BOSS 6.6.4.p01
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
16namespace 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 {
31protected:
32public:
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
Place holder Issue class.
Definition: DefaultIssue.h:30
virtual const char * get_class_name() const
Get key for class (used for serialisation)
Root Issue class.