argagg
|
![]() ![]() | There are only two hard things in Computer Science: cache invalidation and naming things (Phil Karlton) |
![]() ![]() ![]() | The set of template instantiations that convert C-strings to other types for the option_result::as(), option_results::as(), parser_results::as(), and parser_results::all_as() methods are placed in this namespace |
![]() ![]() ![]() | This exception is thrown when a long option is parsed and is given an argument using the "=" syntax but the option doesn't expect an argument |
![]() ![]() ![]() | This exception is thrown when an option is parsed unexpectedly such as when an argument was expected for a previous option or if an option was found that has not been defined |
![]() ![]() ![]() | This exception is thrown when an option requires an argument but is not provided one. This can happen if another flag was found after the option or if we simply reach the end of the command line arguments |
![]() ![]() ![]() | This exception is thrown when an option's flag is invalid. This can be the case if the flag is not prefixed by one or two hyphens or contains non alpha-numeric characters after the hypens. See is_valid_flag_definition() for more details |
![]() ![]() ![]() | Represents a single option parse result |
![]() ![]() ![]() | Represents multiple option parse results for a single option. If treated as a single parse result it defaults to the last parse result. Note that an instance of this struct is always created even if no option results are parsed for a given definition. In that case it will simply be empty |
![]() ![]() ![]() | Represents all results of the parser including options and positional arguments |
![]() ![]() ![]() | An option definition which essentially represents what an option is |
![]() ![]() ![]() | Contains two maps which aid in option parsing. The first map, short_map, maps from a short flag (just a character) to a pointer to the original definition that the flag represents. The second map, long_map, maps from a long flag (an std::string) to a pointer to the original definition that the flag represents |
![]() ![]() ![]() | A list of option definitions used to inform how to parse arguments |
![]() ![]() ![]() | A convenience output stream that will accumulate what is streamed to it and then, on destruction, format the accumulated string using the fmt program (via the argagg::fmt_string() function) to the provided std::ostream |
![]() ![]() | STL namespace |