Line | |
---|
1 | // -*- C++ -*- |
---|
2 | // AID-GENERATED |
---|
3 | // ========================================================================= |
---|
4 | // This class was generated by AID - Abstract Interface Definition |
---|
5 | // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it. |
---|
6 | // ========================================================================= |
---|
7 | #ifndef HEPREP_HEPREPACTION_H |
---|
8 | #define HEPREP_HEPREPACTION_H 1 |
---|
9 | |
---|
10 | // Copyright 2000-2005, FreeHEP. |
---|
11 | |
---|
12 | #include <string> |
---|
13 | |
---|
14 | namespace HEPREP { |
---|
15 | |
---|
16 | /** |
---|
17 | * HepRepAction interface. |
---|
18 | * |
---|
19 | * @author Mark Donszelmann |
---|
20 | */ |
---|
21 | class HepRepAction { |
---|
22 | |
---|
23 | public: |
---|
24 | /// Destructor. |
---|
25 | virtual ~HepRepAction() { /* nop */; } |
---|
26 | |
---|
27 | /** |
---|
28 | * Returns name of this action. |
---|
29 | * |
---|
30 | * @return name of this action. |
---|
31 | */ |
---|
32 | virtual std::string getName() = 0; |
---|
33 | |
---|
34 | /** |
---|
35 | * Returns expression associated with this action. |
---|
36 | * |
---|
37 | * @return expression of this action. |
---|
38 | */ |
---|
39 | virtual std::string getExpression() = 0; |
---|
40 | |
---|
41 | /** |
---|
42 | * Returns a deep copy of this action. |
---|
43 | * |
---|
44 | * @return copy of this action. |
---|
45 | */ |
---|
46 | virtual HepRepAction * copy() = 0; |
---|
47 | }; // class |
---|
48 | } // namespace HEPREP |
---|
49 | #endif /* ifndef HEPREP_HEPREPACTION_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.