BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
DefaultIssue.cxx
Go to the documentation of this file.
1/*
2 * DefaultIssue.cxx
3 * ers
4 *
5 * Created by Matthias Wiesmann on 14.02.05.
6 * Copyright 2005 CERN. All rights reserved.
7 *
8 */
9
10#include "ers/DefaultIssue.h"
11#include <cstdlib>
12/** Constructor
13 * We simply store the name of the class that should be represented.
14 * This way the class knows what it should be.
15 */
16
17ers::DefaultIssue::DefaultIssue(const std::string &name) : Issue() {
18 m_class_name = name ;
19} // DefaultIssue
20
22
23/** This method does not return a value that is associated with the
24 * \c DefaultIssue class, instead in return the name of the class
25 * this issue should be representing.
26 */
27
28const char *ers::DefaultIssue::get_class_name() const throw() {
29 return m_class_name.c_str();
30} // get_class_name
31
DefaultIssue(const std::string &name)
virtual const char * get_class_name() const
Get key for class (used for serialisation)
Root Issue class.
std::string m_class_name
class name