BLOCXX_NAMESPACE::CmdLineParser::Option Struct Reference

#include <CmdLineParser.hpp>

List of all members.

Public Attributes

int id
 unique option id, used to retrieve option values
char shortopt
 short option char. Set to '\0' for none.
const char * longopt
 long option string. Set to 0 for none.
EArgumentTypeFlag argtype
 specifies constraints for the option's argument
const char * defaultValue
 if argtype == E_OPTIONAL_ARG and no argument is specified, this value will be returned. Set to 0 for none.
const char * description
 description used by getUsage(). May be 0.

Detailed Description

Definition at line 77 of file CmdLineParser.hpp.


Member Data Documentation

specifies constraints for the option's argument

Definition at line 82 of file CmdLineParser.hpp.

if argtype == E_OPTIONAL_ARG and no argument is specified, this value will be returned. Set to 0 for none.

Definition at line 83 of file CmdLineParser.hpp.

description used by getUsage(). May be 0.

Definition at line 84 of file CmdLineParser.hpp.

unique option id, used to retrieve option values

Definition at line 79 of file CmdLineParser.hpp.

long option string. Set to 0 for none.

Definition at line 81 of file CmdLineParser.hpp.

short option char. Set to '\0' for none.

Definition at line 80 of file CmdLineParser.hpp.


The documentation for this struct was generated from the following file:
Generated on Mon Jul 5 19:59:39 2010 for blocxx by  doxygen 1.6.3