argagg
Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]
 NargaggThere are only two hard things in Computer Science: cache invalidation and naming things (Phil Karlton)
 NconvertThe 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
 CconverterFor simple types the main extension point for adding argument conversions is argagg::convert::arg<T>(). However, for complex types such as templated types partial specialization of a helper struct is required. This struct provides that extension point. The default, generic implementation of argagg::convert::arg<T>() calls converter<T>::convert()
 Cconverter< csv< T > >Partially specializes argagg::convert::converter for the argagg::csv type
 Cconverter< cv::Point3_< T > >Partially specializes argagg::convert::converter for the cv::Point3_ type. Parses as a comma separated list of components
 Cconverter< cv::Point_< T > >Partially specializes argagg::convert::converter for the cv::Point_ type. Parses as a comma separated list of components
 Cconverter< cv::Rect_< T > >Partially specializes argagg::convert::converter for the cv::Rect_ type. Parses as a comma separated list of x, y, width, height
 Cconverter< cv::Size_< T > >Partially specializes argagg::convert::converter for the cv::Size_ type. Parses as a 'x' separated pair of width and height
 CcsvRepresents a list of comma-separated values. This is defined as a new type to embed the delimiter semantics into the type (if it was just a std::vector then it's not clear what the delimiter is)
 CdefinitionAn option definition which essentially represents what an option is
 Cfmt_ostreamA convenience output stream that will accumulate what is streamed to it and then, on destruction, format the accumulated string (via the argagg::fmt_string() function) to the provided std::ostream
 Cinvalid_flagThis 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 hyphens. See is_valid_flag_definition() for more details
 Coption_lacks_argument_errorThis 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
 Coption_resultRepresents a single option parse result
 Coption_resultsRepresents 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
 CparserA list of option definitions used to inform how to parse arguments
 Cparser_mapContains 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
 Cparser_resultsRepresents all results of the parser including options and positional arguments
 Cunexpected_argument_errorThis 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
 Cunexpected_option_errorThis 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
 Cunknown_optionThis exception is thrown when an unknown option is requested by name from an argagg::parser_results through the indexing operator ([])