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