OPALX (Object Oriented Parallel Accelerator Library for Exascal)
master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
Quit.cpp
Go to the documentation of this file.
1
//
2
// Class Quit
3
// The class for OPAL QUIT command.
4
//
5
// Copyright (c) 2000 - 2021, Paul Scherrer Institut, Villigen PSI, Switzerland
6
// All rights reserved
7
//
8
// This file is part of OPAL.
9
//
10
// OPAL is free software: you can redistribute it and/or modify
11
// it under the terms of the GNU General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17
//
18
#include "
BasicActions/Quit.h
"
19
20
Quit::Quit
()
21
:
Action
(0,
"QUIT"
,
22
"The \"QUIT\" statement terminates program execution "
23
"or reading of a called file."
) {}
24
25
Quit::Quit
(
const
std::string& name,
Quit
* parent) :
Action
(name, parent) {}
26
27
Quit::~Quit
() {}
28
29
Quit
*
Quit::clone
(
const
std::string& name) {
return
new
Quit
(name,
this
); }
30
31
void
Quit::execute
() {}
Quit.h
Action
The base class for all OPAL actions.
Definition
Action.h:29
Quit
Definition
Quit.h:23
Quit::~Quit
virtual ~Quit()
Definition
Quit.cpp:27
Quit::Quit
Quit()
Exemplar constructor.
Definition
Quit.cpp:20
Quit::clone
virtual Quit * clone(const std::string &name)
Make clone.
Definition
Quit.cpp:29
Quit::execute
virtual void execute()
Execute the command.
Definition
Quit.cpp:31
src
BasicActions
Quit.cpp
Generated on Mon Jun 1 2026 10:40:52 for OPALX (Object Oriented Parallel Accelerator Library for Exascal) by
1.9.8