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