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