#include <clo.h>
Public Methods | |
parser (void) | |
default constructor. | |
void | parse (int argc, char *argv[], bool call_finalize=true) |
parse the command line. | |
void | finalize (void) |
finalize all parsing (eg. check for mandatory options). | |
const std::vector< std::string > & | get_non_options (void) const |
get a list of nonoptions from the command line. | |
const options & | get_options (void) const |
get the main options. | |
const option_locations & | get_locations (void) const |
get the main option locations. |