34 #include <visp3/core/vpConfig.h> 35 #include <visp3/core/vpException.h> 173 ARGV_NO_DEFAULTS = 0x1,
174 ARGV_NO_LEFTOVERS = 0x2,
175 ARGV_NO_ABBREV = 0x4,
176 ARGV_DONT_SKIP_FIRST_ARG = 0x8,
180 #ifndef DOXYGEN_SHOULD_SKIP_THIS 195 static vpArgvInfo defaultTable[2];
196 static bool parse(
int *argcPtr,
const char **argv, vpArgvInfo *argTable,
int flags);
197 static int parse(
int argc,
const char **argv,
const char *validOpts,
const char **param);
200 static void printUsage(vpArgvInfo *argTable,
int flags);
Argument is associated to a double.
Stand alone argument associated to a bool var that is set to true.
Argument is associated to a char * string.
Argument is for help displaying.
Stand alone argument associated to an int var that is set to 1.
Argument is associated to a long.
Stand alone argument. Same as vpParseArgv::ARGV_CONSTANT_INT.
Argument is associated to a float.
Command line argument parsing.
Argument is associated to an int.