Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cheprep::DefaultHepRepAction Class Reference

#include <DefaultHepRepAction.h>

Inheritance diagram for cheprep::DefaultHepRepAction:
Collaboration diagram for cheprep::DefaultHepRepAction:

Public Member Functions

 DefaultHepRepAction (std::string name, std::string expression)
 
 ~DefaultHepRepAction ()
 
std::string getName ()
 
std::string getExpression ()
 
HEPREP::HepRepActioncopy ()
 
- Public Member Functions inherited from HEPREP::HepRepAction
virtual ~HepRepAction ()
 Destructor. More...
 

Detailed Description

Definition at line 17 of file DefaultHepRepAction.h.

Constructor & Destructor Documentation

cheprep::DefaultHepRepAction::DefaultHepRepAction ( std::string  name,
std::string  expression 
)

Definition at line 16 of file DefaultHepRepAction.cc.

17  : name(aName), expression(anExpression) {
18 }
const XML_Char * name
Definition: expat.h:151

Here is the caller graph for this function:

cheprep::DefaultHepRepAction::~DefaultHepRepAction ( )

Definition at line 20 of file DefaultHepRepAction.cc.

20  {
21 }

Member Function Documentation

HepRepAction * cheprep::DefaultHepRepAction::copy ( )
virtual

Returns a deep copy of this action.

Returns
copy of this action.

Implements HEPREP::HepRepAction.

Definition at line 31 of file DefaultHepRepAction.cc.

31  {
32  return new DefaultHepRepAction(name, expression);
33 }
const XML_Char * name
Definition: expat.h:151
DefaultHepRepAction(std::string name, std::string expression)

Here is the call graph for this function:

string cheprep::DefaultHepRepAction::getExpression ( )
virtual

Returns expression associated with this action.

Returns
expression of this action.

Implements HEPREP::HepRepAction.

Definition at line 27 of file DefaultHepRepAction.cc.

27  {
28  return expression;
29 }
string cheprep::DefaultHepRepAction::getName ( )
virtual

Returns name of this action.

Returns
name of this action.

Implements HEPREP::HepRepAction.

Definition at line 23 of file DefaultHepRepAction.cc.

23  {
24  return name;
25 }
const XML_Char * name
Definition: expat.h:151

The documentation for this class was generated from the following files: