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