|
tfel
|
Public Member Functions | |
| TestDocMain (const int, const char *const *const) | |
| void | treatUnknownArgument () override |
| method called while parsing unregistred command line arguments. | |
| virtual int | execute () |
| Public Member Functions inherited from tfel::utilities::ArgumentParserBase< TestDocMain > | |
| ArgumentParserBase () | |
| default constructor | |
| ArgumentParserBase & | operator= (const ArgumentParserBase &)=delete |
| void | registerNewCallBack (const std::string &, const MemberFuncPtr &, const std::string &="", const bool=false) |
| register a new callback | |
| ~ArgumentParserBase () override | |
| destructor | |
| Public Member Functions inherited from tfel::utilities::ArgumentParser | |
| ArgumentParser () | |
| default constructor | |
| ArgumentParser (const int, const char *const *const) | |
| constructor | |
| ArgumentParser (const ArgumentParser &)=delete | |
| copy constructor | |
| ArgumentParser (ArgumentParser &&)=delete | |
| move constructor | |
| ArgumentParser & | operator= (const ArgumentParser &)=delete |
| standard assignement | |
| ArgumentParser & | operator= (ArgumentParser &&)=delete |
| move assignement | |
| virtual void | setArguments (const int, const char *const *const) |
| set the arguments to be parsed | |
| virtual void | registerCallBack (const std::string &, const CallBack &) |
| register a new callback | |
| virtual void | registerCallBack (const std::string &, const std::string &, const CallBack &) |
| register a new callback | |
| virtual void | parseArguments () |
| parse arguments using registred methods. | |
| const CallBacksContainer & | getRegistredCallBacks () const |
| virtual | ~ArgumentParser () |
| destructor | |
Additional Inherited Members | |
| Public Types inherited from tfel::utilities::ArgumentParserBase< TestDocMain > | |
| using | MemberFuncPtr |
| a simple alias | |
| Public Types inherited from tfel::utilities::ArgumentParser | |
| using | CallBacksContainer = std::map<std::string, CallBack> |
| a simple alias | |
| Protected Types inherited from tfel::utilities::ArgumentParser | |
| using | AliasContainer = std::map<std::string, std::string> |
| a simple alias | |
| using | ArgsContainer = std::vector<Argument> |
| a simple alias | |
| Protected Member Functions inherited from tfel::utilities::ArgumentParser | |
| virtual void | treatHelp () |
| method associated with the '–help' command line argument. | |
| virtual void | treatVersion () |
| method associated with the '–version' command line argument | |
| Protected Attributes inherited from tfel::utilities::ArgumentParser | |
| CallBacksContainer | callBacksContainer |
| container of all the call-backs | |
| AliasContainer | alias |
| container of all the alias | |
| ArgsContainer | args |
| container of all the command line arguments | |
| ArgsContainer::iterator | currentArgument |
| an iterator to the argument being treated | |
| std::string | programName |
| program name | |
|
overridevirtual |
method called while parsing unregistred command line arguments.
| runtime_error |
Reimplemented from tfel::utilities::ArgumentParser.