Generic parser object for options.
More...
#include <option_parser.h>
List of all members.
Public Member Functions
-
OptionParser (OptionReader *reader)
-
OptionParser (const OptionParser &other)
-
void changeReader (OptionReader *reader)
-
void addOption (Option *option)
-
Option * getOption (const string &name)
-
void parseOptions () throw ( UException )
-
void printUsage (ostream &os) const
-
void writeConfig (const string &filename, const bool withComment=true) const throw ( UException )
-
string toString (const bool withComment=false) const throw ( UException )
Protected Types
-
typedef map< string, Option * > omap
Protected Attributes
Friends
Detailed Description
Generic parser object for options.
Uses an object of type util::OptionReader to retrieve the options from whereever (config file, command-line, etc.)
The documentation for this class was generated from the following file:
Generated on Fri Dec 24 13:32:05 2004 for LTL by
1.3.4