17const std::string GSPNExportSettings::writeToDotOptionName =
"gspn-dot-output";
19const std::string GSPNExportSettings::writeToPnmlOptionName =
"to-pnml";
20const std::string GSPNExportSettings::writeToPnproOptionName =
"to-pnpro";
21const std::string GSPNExportSettings::writeToJsonOptionName =
"to-json";
22const std::string GSPNExportSettings::writeToJaniOptionName =
"to-jani";
23const std::string GSPNExportSettings::addJaniPropertiesOptionName =
"addprops";
24const std::string GSPNExportSettings::writeStatsOptionName =
"to-stats";
25const std::string GSPNExportSettings::displayStatsOptionName =
"show-stats";
46 "If set, a set of standard properties is added to the exported jani model.")
virtual std::string getValueAsString() const =0
Retrieves the value of this argument as a string.
static ArgumentBuilder createStringArgument(std::string const &name, std::string const &description)
Creates a string argument with the given parameters.
This class provides the interface to create an option...
ArgumentBase const & getArgumentByName(std::string const &argumentName) const
Returns a reference to the argument with the specified long name.
bool getHasOptionBeenSet() const
Retrieves whether the option has been set.
bool isWriteToPnmlSet() const
bool isDisplayStatsSet() const
bool isWriteToPnproSet() const
std::string getWriteToPnmlFilename() const
std::string getWriteToJsonFilename() const
bool isWriteToJaniSet() const
GSPNExportSettings()
Creates a new GSPNExport setting.
std::string getWriteToPnproFilename() const
bool isAddJaniPropertiesSet() const
Returns whether a set of standard properties is to be added when exporting to jani.
std::string getWriteToDotFilename() const
Retrieves the dot file name.
void finalize() override
Prepares the modules for further usage, should be called at the end of the initialization,...
bool isWriteToDotSet() const
Retrieve whether the to dot option was set.
bool isWriteToJsonSet() const
std::string getWriteStatsFilename() const
bool isWriteStatsToFileSet() const
bool check() const override
Checks whether the settings are consistent.
std::string getWriteToJaniFilename() const
static const std::string moduleName
This is the base class of the settings for a particular module.
void addOption(std::shared_ptr< Option > const &option)
Adds and registers the given option.
Option & getOption(std::string const &longName)
Retrieves the option with the given long name.