- /*! \brief
- * Parses options from the given command line and runs the analysis.
- *
- * \throws multiple Exceptions are used to indicate errors.
- * \returns Zero on success.
- */
- int run(int argc, char *argv[]);
- /*! \brief
- * Prints help for the module, including common options from the runner.
- *
- * \param[in] context Context object for writing the help.
- * \throws std::bad_alloc if out of memory.
- * \throws FileIOError on any I/O error.
- */
- void writeHelp(const CommandLineHelpContext &context);
+
+ // From ICommandLineOptionsModule
+ virtual void init(CommandLineModuleSettings *settings);
+ void initOptions(IOptionsContainer *options,
+ ICommandLineOptionsModuleSettings *settings);
+ void optionsFinished();
+ int run();