mCRL2
|
Base class for filter tools that use a lps rewriter. More...
#include <lps_rewriter_tool.h>
Public Member Functions | |
lps_rewriter_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 | ~lps_rewriter_tool ()=default |
Destructor. | |
lps::lps_rewriter_type | rewriter_type () const |
Returns the rewriter type. | |
Protected Member Functions | |
virtual std::set< lps::lps_rewriter_type > | available_rewriters () const |
Returns the types of rewriters that are available for this tool. Override this method to change the standard behavior. | |
virtual lps::lps_rewriter_type | default_rewriter () const |
Returns the default lps rewriter. Override this method to change the standard behavior. | |
void | add_options (utilities::interface_description &desc) |
Add options to an interface description. Also includes rewriter options. | |
void | parse_options (const utilities::command_line_parser &parser) |
Parse non-standard options. | |
Protected Attributes | |
lps::lps_rewriter_type | m_lps_rewriter_type |
The type of the lps rewriter. | |
Base class for filter tools that use a lps rewriter.
Definition at line 30 of file lps_rewriter_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 95 of file lps_rewriter_tool.h.
|
virtualdefault |
Destructor.
|
inlineprotected |
Add options to an interface description. Also includes rewriter options.
desc | An interface description |
Definition at line 59 of file lps_rewriter_tool.h.
|
inlineprotectedvirtual |
Returns the types of rewriters that are available for this tool. Override this method to change the standard behavior.
Definition at line 39 of file lps_rewriter_tool.h.
|
inlineprotectedvirtual |
Returns the default lps rewriter. Override this method to change the standard behavior.
Definition at line 51 of file lps_rewriter_tool.h.
|
inlineprotected |
Parse non-standard options.
parser | A command line parser |
Definition at line 81 of file lps_rewriter_tool.h.
|
inline |
Returns the rewriter type.
Definition at line 109 of file lps_rewriter_tool.h.
|
protected |
The type of the lps rewriter.
Definition at line 34 of file lps_rewriter_tool.h.