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