Logo Search packages:      
Sourcecode: wbar version File versions  Download package

Classes | Public Member Functions | Private Attributes

OptParser Class Reference

Collaboration diagram for OptParser:
Collaboration graph

List of all members.


struct  realOpts

Public Member Functions

void addOption (const char *name, bool hasArg, const char *defArg=NULL)
std::string getArg (std::string name)
int isset (std::string name)
void parse (int argc, char *const argv[])

Private Attributes

struct option longOption [MAXOPTS]
int optCount
struct realOpts setOption [MAXOPTS]

Detailed Description

Definition at line 8 of file OptParser.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index