Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DefaultHepRepAction.cc
Go to the documentation of this file.
1 // Copyright FreeHEP, 2005.
2 
3 #include <iostream>
4 
6 
7 using namespace std;
8 using namespace HEPREP;
9 
10 /**
11  * @author Mark Donszelmann
12  * @version $Id: DefaultHepRepAction.cc 66373 2012-12-18 09:41:34Z gcosmo $
13  */
14 namespace cheprep {
15 
16 DefaultHepRepAction::DefaultHepRepAction(string aName, string anExpression)
17  : name(aName), expression(anExpression) {
18 }
19 
21 }
22 
24  return name;
25 }
26 
28  return expression;
29 }
30 
32  return new DefaultHepRepAction(name, expression);
33 }
34 
35 } // cheprep
36 
DefaultHepRepAction(std::string name, std::string expression)
const XML_Char * name
HEPREP::HepRepAction * copy()