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