Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Examples  

clo::parser Class Reference

#include <clo.h>

List of all members.

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 optionsget_options (void) const
 get the main options.

const option_locationsget_locations (void) const
 get the main option locations.


Detailed Description

the parser class is the main command line parsing class. You can control the name of it using the cxx_class variable.


The documentation for this class was generated from the following files:
Generated on Wed Sep 4 22:06:42 2002 for LibTPT by doxygen1.2.13 written by Dimitri van Heesch, © 1997-2001