Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CommandLine::Option Class Reference

List of all members.

Detailed Description

Helper class for expected and actual options.

Definition at line 29 of file CommandLine.h.

Private Member Functions

 Option (const String &name)
 Creates a new option declaration.


Private Attributes

friend CommandLine
int expectedParameters
 The number of parameters expected for this option.

bool found
 Whether the command line actually contains this option.

String name
 The name of the option, including the prefixing slash or hyphen.

ArrayList< Stringparameters
 The parameters of this option.


Constructor & Destructor Documentation

Option const String name  )  [private]
 

Creates a new option declaration.

Parameters:
name The name of the option, including the prefixing slash or hyphen.


Member Data Documentation

friend CommandLine [private]
 

Definition at line 31 of file CommandLine.h.

int expectedParameters [private]
 

The number of parameters expected for this option.

Definition at line 38 of file CommandLine.h.

bool found [private]
 

Whether the command line actually contains this option.

Definition at line 43 of file CommandLine.h.

String name [private]
 

The name of the option, including the prefixing slash or hyphen.

Definition at line 48 of file CommandLine.h.

ArrayList<String> parameters [private]
 

The parameters of this option.

Definition at line 53 of file CommandLine.h.


The documentation for this class was generated from the following file:
Generated on Tue Oct 3 00:23:39 2006 for ToolBox by doxygen 1.3.6