mCRL2
Loading...
Searching...
No Matches
command.h
Go to the documentation of this file.
1// Author(s): Wieger Wesselink
2// Copyright: see the accompanying file COPYING or copy at
3// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
4//
5// Distributed under the Boost Software License, Version 1.0.
6// (See accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8//
11
12#ifndef MCRL2_UTILITIES_DETAIL_COMMAND_H
13#define MCRL2_UTILITIES_DETAIL_COMMAND_H
14
15#include <string>
16#include <vector>
17
18namespace mcrl2 {
19
20namespace utilities {
21
22namespace detail {
23
25struct command
26{
27 std::string name;
28 const std::string& input_filename;
29 const std::string& output_filename;
30 const std::vector<std::string>& options;
31
32 command(const std::string& name_,
33 const std::string& input_filename_,
34 const std::string& output_filename_,
35 const std::vector<std::string>& options_
36 )
37 : name(name_),
38 input_filename(input_filename_),
39 output_filename(output_filename_),
40 options(options_)
41 {}
42
43 virtual void execute() = 0;
44 virtual ~command() = default;
45};
46
47} // namespace detail
48
49} // namespace utilities
50
51} // namespace mcrl2
52
53#endif // MCRL2_UTILITIES_DETAIL_COMMAND_H
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...
Definition indexed_set.h:72
command(const std::string &name_, const std::string &input_filename_, const std::string &output_filename_, const std::vector< std::string > &options_)
Definition command.h:32
const std::string & input_filename
Definition command.h:28
const std::vector< std::string > & options
Definition command.h:30
const std::string & output_filename
Definition command.h:29