OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
MatchCmd.h
Go to the documentation of this file.
1 #ifndef OPAL_MatchCmd_HH
2 #define OPAL_MatchCmd_HH 1
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: MatchCmd.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: MatchCmd
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 
24 // Class MatchCmd
25 // ------------------------------------------------------------------------
27 
28 class MatchCmd: public Action {
29 
30 public:
31 
33  MatchCmd();
34 
35  virtual ~MatchCmd();
36 
38  virtual MatchCmd *clone(const std::string &name);
39 
41  virtual void execute();
42 
43 private:
44 
45  // Not implemented.
46  MatchCmd(const MatchCmd &);
47  void operator=(const MatchCmd &);
48 
49  // Clone constructor.
50  MatchCmd(const std::string &name, MatchCmd *parent);
51 };
52 
53 #endif // OPAL_MatchCmd_HH
virtual void execute()
Execute the command.
Definition: MatchCmd.cpp:56
virtual MatchCmd * clone(const std::string &name)
Make clone.
Definition: MatchCmd.cpp:51
The base class for all OPAL actions.
Definition: Action.h:30
virtual ~MatchCmd()
Definition: MatchCmd.cpp:47
void operator=(const MatchCmd &)
The MATCH command.
Definition: MatchCmd.h:28
const std::string name
MatchCmd()
Exemplar constructor.
Definition: MatchCmd.cpp:26