|
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. | |
| ~lps_rewriter_tool () override=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) override |
| Add options to an interface description. Also includes rewriter options. | |
| void | parse_options (const utilities::command_line_parser &parser) override |
| 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 24 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 90 of file lps_rewriter_tool.h.
|
overridedefault |
Destructor.
|
inlineoverrideprotected |
Add options to an interface description. Also includes rewriter options.
| desc | An interface description |
Definition at line 54 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 33 of file lps_rewriter_tool.h.
|
inlineprotectedvirtual |
Returns the default lps rewriter. Override this method to change the standard behavior.
Definition at line 46 of file lps_rewriter_tool.h.
|
inlineoverrideprotected |
Parse non-standard options.
| parser | A command line parser |
Definition at line 76 of file lps_rewriter_tool.h.
|
inline |
Returns the rewriter type.
Definition at line 104 of file lps_rewriter_tool.h.
|
protected |
The type of the lps rewriter.
Definition at line 28 of file lps_rewriter_tool.h.