BOSS
7.0.4
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
17
ers::DefaultIssue::DefaultIssue
(
const
std::string &name) :
Issue
() {
18
m_class_name
= name ;
19
}
// DefaultIssue
20
21
ers::DefaultIssue::~DefaultIssue
() throw() {}
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
28
const
char
*
ers::DefaultIssue::get_class_name
()
const
throw() {
29
return
m_class_name.c_str();
30
}
// get_class_name
31
ers::DefaultIssue::DefaultIssue
DefaultIssue(const std::string &name)
Definition:
DefaultIssue.cxx:17
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:
Event/ers/ers-00-00-03/ers/Issue.h:40
ers::Issue::m_class_name
std::string m_class_name
class name
Definition:
Event/ers/ers-00-00-03/ers/Issue.h:74
source
Event
ers
ers-00-00-03
src
DefaultIssue.cxx
Generated by
1.9.6