OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
BasicActions
Quit.cpp
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
// $RCSfile: Quit.cpp,v $
3
// ------------------------------------------------------------------------
4
// $Revision: 1.1.1.1 $
5
// ------------------------------------------------------------------------
6
// Copyright: see Copyright.readme
7
// ------------------------------------------------------------------------
8
//
9
// Class: Quit
10
// The class for the OPAL QUIT command.
11
//
12
// ------------------------------------------------------------------------
13
//
14
// $Date: 2000/03/27 09:33:37 $
15
// $Author: Andreas Adelmann $
16
//
17
// ------------------------------------------------------------------------
18
19
#include "
BasicActions/Quit.h
"
20
21
22
// Class Quit
23
// ------------------------------------------------------------------------
24
25
Quit::Quit
():
Action
(0,
"QUIT"
,
26
"The \"QUIT\" statement terminates program execution "
27
"or reading of a called file."
)
28
{}
29
30
31
Quit::Quit
(
const
std::string &
name
,
Quit
*parent):
32
Action
(name, parent)
33
{}
34
35
36
Quit::~Quit
()
37
{}
38
39
40
Quit
*
Quit::clone
(
const
std::string &
name
) {
41
return
new
Quit
(name,
this
);
42
}
43
44
45
void
Quit::execute
()
46
{}
Quit::~Quit
virtual ~Quit()
Definition:
Quit.cpp:36
Quit::Quit
Quit()
Exemplar constructor.
Definition:
Quit.cpp:25
Action
The base class for all OPAL actions.
Definition:
Action.h:30
Quit::clone
virtual Quit * clone(const std::string &name)
Make clone.
Definition:
Quit.cpp:40
Quit.h
Quit
The QUIT command.
Definition:
Quit.h:28
name
const std::string name
Definition:
MaxNormRadialPeak.cpp:3
Quit::execute
virtual void execute()
Execute the command.
Definition:
Quit.cpp:45
Generated on Sat Jan 4 2020 14:47:47 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5