OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
MatchEnd.h
Go to the documentation of this file.
1 #ifndef OPAL_MatchEnd_HH
2 #define OPAL_MatchEnd_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: MatchEnd.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: MatchEnd
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:44 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "AbstractObjects/Action.h"
22 
23 class MatchParser;
24 
25 
26 // Class MatchEnd
27 // ------------------------------------------------------------------------
29 
30 class MatchEnd: public Action {
31 
32 public:
33 
35  MatchEnd();
36 
37  virtual ~MatchEnd();
38 
40  virtual MatchEnd *clone(const std::string &name);
41 
43  virtual void execute();
44 
45 private:
46 
47  // Not implemented.
48  MatchEnd(const MatchEnd &);
49  void operator=(const MatchEnd &);
50 
51  // Clone constructor.
52  MatchEnd(const std::string &name, MatchEnd *parent);
53 };
54 
55 #endif // OPAL_MatchEnd_HH
The ENDMATCH command.
Definition: MatchEnd.h:30
The base class for all OPAL actions.
Definition: Action.h:30
MatchEnd()
Exemplar constructor.
Definition: MatchEnd.cpp:28
virtual MatchEnd * clone(const std::string &name)
Make clone.
Definition: MatchEnd.cpp:43
virtual ~MatchEnd()
Definition: MatchEnd.cpp:39
virtual void execute()
Execute the command.
Definition: MatchEnd.cpp:48
The parser used in the OPAL match module.
Definition: MatchParser.h:32
void operator=(const MatchEnd &)
const std::string name