1 #ifndef WIKIWALKER_GETOPTCOMMANDLINEPARSER_H
2 #define WIKIWALKER_GETOPTCOMMANDLINEPARSER_H
7 #include "CommandLineParserBase.h"
11 //! command line parser using getopt functions
12 class GetoptCommandLineParser
: public CommandLineParserBase
15 ~GetoptCommandLineParser() override
= default;
18 CommandLineParserBase::CommandLineOptions option
) override
;
19 bool hasSet(CommandLineParserBase::CommandLineOptions flag
) override
;
20 void parse(int argc
, char** argv
) override
;
21 void printHelp() override
;
24 std::map
<std::string
, std::string
> setOptions
;
26 } // namespace WikiWalker
27 #endif // WIKIWALKER_GETOPTCOMMANDLINEPARSER_H