1 #ifndef APPLICATION_UTILITIES_ARGUMENTPARSER_PRIVATE_H 2 #define APPLICATION_UTILITIES_ARGUMENTPARSER_PRIVATE_H 22 const char *
const *
end;
37 #endif // APPLICATION_UTILITIES_ARGUMENTPARSER_PRIVATE_H ArgumentVector & args
The Argument instances to store the results. Sub arguments of args are considered as well...
const char * argDenotation
The currently processed abbreviation denotation (should be substring of one of the args in argv)...
Contains currently only ArgumentParser and related classes.
const char *const * argv
Points to the first argument denotation and will be incremented when a denotation has been processed...
unsigned char argDenotationType
The type of the currently processed abbreviation denotation. Unspecified if argDenotation is not set...
ArgumentParser & parser
The associated ArgumentParser instance.
The Argument class is a wrapper for command line argument information.
const char *const * lastArgDenotation
Points to the element in argv where lastArg was encountered. Unspecified if lastArg is not set...
bool completionMode
Whether completion mode is enabled. In this case reading args will be continued even if an denotation...
const char *const * end
Points to the end of the argv array.
size_t index
An index which is incremented when an argument is encountered (the current index is stored in the occ...
#define CPP_UTILITIES_EXPORT
Marks the symbol to be exported by the c++utilities library.
Argument * lastArg
The last Argument instance which could be detected. Set to nullptr in the initial call...
The ArgumentParser class provides a means for handling command line arguments.
std::vector< Argument * > ArgumentVector