argagg: Class List

argagg

Loading...
Searching...
No Matches
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]

N argagg | There are only two hard things in Computer Science: cache invalidation and naming things (Phil Karlton)
N convert | 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
C converter | For 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()
C converter< csv< T > > | Partially specializes argagg::convert::converter for the argagg::csv type
C converter< cv::Point3_< T > > | Partially specializes argagg::convert::converter for the cv::Point3_ type. Parses as a comma separated list of components
C converter< cv::Point_< T > > | Partially specializes argagg::convert::converter for the cv::Point_ type. Parses as a comma separated list of components
C converter< cv::Rect_< T > > | Partially specializes argagg::convert::converter for the cv::Rect_ type. Parses as a comma separated list of x, y, width, height
C converter< cv::Size_< T > > | Partially specializes argagg::convert::converter for the cv::Size_ type. Parses as a 'x' separated pair of width and height
C csv | Represents 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)
C definition | An option definition which essentially represents what an option is
C fmt_ostream | A 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
C invalid_flag | 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 hyphens. See is_valid_flag_definition() for more details
C option_lacks_argument_error | 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
C option_result | Represents a single option parse result
C option_results | 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
C parser | A list of option definitions used to inform how to parse arguments
C parser_map | 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
C parser_results | Represents all results of the parser including options and positional arguments
C unexpected_argument_error | 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
C unexpected_option_error | 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
C unknown_option | This exception is thrown when an unknown option is requested by name from an argagg::parser_results through the indexing operator ([])