Base class for tools that optionally takes one file as input, and writes the results to two output files.
More...
#include <input_output_output_tool.h>
|
| | input_output_output_tool (const std::string &name, const std::string &author, const std::string &what_is, const std::string &tool_description, std::string known_issues="") |
| | Constructor.
|
| |
| const std::string & | input_filename () const |
| | Returns a const reference to the input filename.
|
| |
| std::string & | input_filename () |
| |
| const std::string & | output_filename1 () const |
| | Returns a const reference to the first output filename.
|
| |
| std::string & | output_filename1 () |
| |
| const std::string & | output_filename2 () const |
| | Returns a const reference to the second output filename.
|
| |
| std::string & | output_filename2 () |
| |
| | tool (const std::string &name, const std::string &author, const std::string &what_is, const std::string &tool_description, std::string known_issues="") |
| | Constructor.
|
| |
| virtual | ~tool ()=default |
| | Destructor.
|
| |
| virtual bool | run ()=0 |
| | Run the tool. The options must be set manually.
|
| |
| const std::string & | timing_filename () const |
| | Return the filename in which timings must be saved.
|
| |
| execution_timer & | timer () |
| | Return reference to the timer that can be used.
|
| |
| int | execute (int argc, char **argv) |
| | Run the tool with the given command line options.
|
| |
Base class for tools that optionally takes one file as input, and writes the results to two output files.
Definition at line 20 of file input_output_output_tool.h.
◆ input_output_output_tool()
| mcrl2::utilities::tools::input_output_output_tool::input_output_output_tool |
( |
const std::string & |
name, |
|
|
const std::string & |
author, |
|
|
const std::string & |
what_is, |
|
|
const std::string & |
tool_description, |
|
|
std::string |
known_issues = "" |
|
) |
| |
|
inline |
◆ check_positional_options()
| void mcrl2::utilities::tools::input_output_output_tool::check_positional_options |
( |
const command_line_parser & |
parser | ) |
|
|
inlineoverrideprotectedvirtual |
◆ input_filename() [1/2]
| std::string & mcrl2::utilities::tools::input_output_output_tool::input_filename |
( |
| ) |
|
|
inline |
◆ input_filename() [2/2]
| const std::string & mcrl2::utilities::tools::input_output_output_tool::input_filename |
( |
| ) |
const |
|
inline |
◆ make_tool_description()
| std::string mcrl2::utilities::tools::input_output_output_tool::make_tool_description |
( |
const std::string & |
description | ) |
const |
|
inlineprotected |
◆ output_file_message()
| std::string mcrl2::utilities::tools::input_output_output_tool::output_file_message |
( |
| ) |
const |
|
inlineprotected |
◆ output_filename1() [1/2]
| std::string & mcrl2::utilities::tools::input_output_output_tool::output_filename1 |
( |
| ) |
|
|
inline |
◆ output_filename1() [2/2]
| const std::string & mcrl2::utilities::tools::input_output_output_tool::output_filename1 |
( |
| ) |
const |
|
inline |
◆ output_filename2() [1/2]
| std::string & mcrl2::utilities::tools::input_output_output_tool::output_filename2 |
( |
| ) |
|
|
inline |
◆ output_filename2() [2/2]
| const std::string & mcrl2::utilities::tools::input_output_output_tool::output_filename2 |
( |
| ) |
const |
|
inline |
◆ parse_options()
| void mcrl2::utilities::tools::input_output_output_tool::parse_options |
( |
const command_line_parser & |
parser | ) |
|
|
inlineoverrideprotectedvirtual |
◆ synopsis()
| std::string mcrl2::utilities::tools::input_output_output_tool::synopsis |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
◆ m_input_filename
| std::string mcrl2::utilities::tools::input_output_output_tool::m_input_filename |
|
protected |
◆ m_output_filename1
| std::string mcrl2::utilities::tools::input_output_output_tool::m_output_filename1 |
|
protected |
◆ m_output_filename2
| std::string mcrl2::utilities::tools::input_output_output_tool::m_output_filename2 |
|
protected |
The documentation for this class was generated from the following file: