| Rev | Line | |
|---|
| [834] | 1 | // Copyright FreeHEP, 2005.
|
|---|
| 2 |
|
|---|
| 3 | #include <iostream>
|
|---|
| 4 |
|
|---|
| 5 | #include "cheprep/DefaultHepRepAction.h"
|
|---|
| 6 |
|
|---|
| 7 | using namespace std;
|
|---|
| 8 | using namespace HEPREP;
|
|---|
| 9 |
|
|---|
| 10 | /**
|
|---|
| 11 | * @author Mark Donszelmann
|
|---|
| 12 | * @version $Id: DefaultHepRepAction.cc,v 1.8 2005/06/02 21:28:45 duns Exp $
|
|---|
| 13 | */
|
|---|
| 14 | namespace cheprep {
|
|---|
| 15 |
|
|---|
| 16 | DefaultHepRepAction::DefaultHepRepAction(string name, string expression)
|
|---|
| 17 | : name(name), expression(expression) {
|
|---|
| 18 | }
|
|---|
| 19 |
|
|---|
| 20 | DefaultHepRepAction::~DefaultHepRepAction() {
|
|---|
| 21 | }
|
|---|
| 22 |
|
|---|
| 23 | string DefaultHepRepAction::getName() {
|
|---|
| 24 | return name;
|
|---|
| 25 | }
|
|---|
| 26 |
|
|---|
| 27 | string DefaultHepRepAction::getExpression() {
|
|---|
| 28 | return expression;
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 | HepRepAction* DefaultHepRepAction::copy() {
|
|---|
| 32 | return new DefaultHepRepAction(name, expression);
|
|---|
| 33 | }
|
|---|
| 34 |
|
|---|
| 35 | } // cheprep
|
|---|
| 36 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.