OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Editor.cpp
Go to the documentation of this file.
1 // ------------------------------------------------------------------------
2 // $RCSfile: Editor.cpp,v $
3 // ------------------------------------------------------------------------
4 // $Revision: 1.1.1.1 $
5 // ------------------------------------------------------------------------
6 // Copyright: see Copyright.readme
7 // ------------------------------------------------------------------------
8 //
9 // Class: Editor
10 // The base class for all OPAL sequence editor commands.
11 //
12 // ------------------------------------------------------------------------
13 //
14 // $Date: 2000/03/27 09:33:35 $
15 // $Author: Andreas Adelmann $
16 //
17 // ------------------------------------------------------------------------
18 
19 #include "AbstractObjects/Editor.h"
20 
21 
22 // Class Editor
23 // ------------------------------------------------------------------------
24 
26 {}
27 
28 
29 const std::string Editor::getCategory() const {
30  return "EDITOR";
31 }
32 
33 
34 bool Editor::shouldTrace() const {
35  return true;
36 
37 }
38 
39 bool Editor::shouldUpdate() const {
40  return false;
41 }
42 
43 
44 Editor::Editor(const std::string &name, Editor *parent):
45  Object(name, parent)
46 {}
47 
48 
49 Editor::Editor(int size, const char *name, const char *help):
50  Object(size, name, help)
51 {}
virtual ~Editor()
Definition: Editor.cpp:25
virtual bool shouldTrace() const
Trace flag.
Definition: Editor.cpp:34
The base class for all OPAL sequence editor commands.
Definition: Editor.h:31
The base class for all OPAL objects.
Definition: Object.h:48
const std::string name
virtual bool shouldUpdate() const
Update flag.
Definition: Editor.cpp:39
virtual const std::string getCategory() const
Return the object category as a string.
Definition: Editor.cpp:29