mCRL2
|
Base class for filter tools that take a pres as input. More...
#include <pres_input_tool.h>
Public Member Functions | |
pres_input_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 | ~pres_input_tool ()=default |
Destructor. | |
utilities::file_format | pres_input_format () const |
Returns the input file format. | |
Protected Member Functions | |
virtual std::set< utilities::file_format > | available_input_formats () const |
Returns the file formats that are available for this tool. Override this method to change the standard behavior. | |
virtual utilities::file_format | default_input_format () const |
Returns the default file format. Override this method to change the standard behavior. | |
void | add_options (utilities::interface_description &desc) |
Add options to an interface description. Also includes input format options. | |
void | parse_options (const utilities::command_line_parser &parser) |
Parse non-standard options. | |
Protected Attributes | |
utilities::file_format | m_pres_input_format |
The type of the pres input format. | |
Base class for filter tools that take a pres as input.
Definition at line 31 of file pres_input_tool.h.
|
inline |
Constructor.
name | The name of the tool |
author | The author(s) of the tool |
what_is | One-line "what is" description of the tool |
tool_description | The description of the tool |
known_issues | Known issues with the tool |
Definition at line 116 of file pres_input_tool.h.
|
virtualdefault |
Destructor.
|
inlineprotected |
Add options to an interface description. Also includes input format options.
desc | An interface description |
Definition at line 66 of file pres_input_tool.h.
|
inlineprotectedvirtual |
Returns the file formats that are available for this tool. Override this method to change the standard behavior.
Definition at line 41 of file pres_input_tool.h.
|
inlineprotectedvirtual |
Returns the default file format. Override this method to change the standard behavior.
Definition at line 53 of file pres_input_tool.h.
|
inlineprotected |
Parse non-standard options.
parser | A command line parser |
Definition at line 80 of file pres_input_tool.h.
|
inline |
Returns the input file format.
Definition at line 130 of file pres_input_tool.h.
|
protected |
The type of the pres input format.
Definition at line 36 of file pres_input_tool.h.