OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
EditInstall.h
Go to the documentation of this file.
1 #ifndef OPAL_EditInstall_HH
2 #define OPAL_EditInstall_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: EditInstall.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: EditInstall
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:38 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "AbstractObjects/Editor.h"
24 
25 
26 // Class EditInstall
27 // ------------------------------------------------------------------------
29 
30 class EditInstall: public Editor {
31 
32 public:
33 
35  EditInstall();
36 
37  virtual ~EditInstall();
38 
40  virtual EditInstall *clone(const std::string &name);
41 
43  virtual void execute();
44 
46  // Special format for this sub-command.
47  virtual void parse(Statement &statement);
48 
49 private:
50 
51  // Not implemented.
52  EditInstall(const EditInstall &);
53  void operator=(const EditInstall &);
54 
55  // Clone constructor.
56  EditInstall(const std::string &name, EditInstall *parent);
57 
58  // A pointer to the new element to be installed.
60 };
61 
62 #endif // OPAL_EditInstall_HH
EditInstall()
Exemplar constructor.
Definition: EditInstall.cpp:46
virtual void parse(Statement &statement)
Parse the command.
The base class for all OPAL sequence editor commands.
Definition: Editor.h:31
virtual EditInstall * clone(const std::string &name)
Make clone.
Definition: EditInstall.cpp:68
Interface for statements.
Definition: Statement.h:38
virtual ~EditInstall()
Definition: EditInstall.cpp:64
const std::string name
virtual void execute()
Execute the command.
Definition: EditInstall.cpp:73
The sequence editor INSTALL command.
Definition: EditInstall.h:30
Pointer< Element > newElement
Definition: EditInstall.h:59
void operator=(const EditInstall &)