Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

ost::CommandOptionCollect Class Reference

It only makes sense to have a single one of these set and it is also exclusive with CommandOptionRest. CommandOption to collect parameters that are not options. More...

#include <cmdoptns.h>

Inheritance diagram for ost::CommandOptionCollect::

ost::CommandOptionWithArg ost::CommandOption List of all members.

Public Methods

 CommandOptionCollect (const char *inOptionName, const char *inOptionLetter, const char *inDescription, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList)
 CommandOptionRest contructor. More...


Detailed Description

It only makes sense to have a single one of these set and it is also exclusive with CommandOptionRest. CommandOption to collect parameters that are not options.

This makes parameter collecting behave line the Unix "cat" command.


Constructor & Destructor Documentation

ost::CommandOptionCollect::CommandOptionCollect ( const char * inOptionName,
const char * inOptionLetter,
const char * inDescription,
bool inRequired = false,
CommandOption ** ppNext = & defaultCommandOptionList )
 

CommandOptionRest contructor.

This sets the optionType for this object to Collect.

Parameters:
inOptionName   long option name
inOptionLetter   short letter name
inDescription   short description of the option
inRequired   true if option is required
ppNext   the linked list header


The documentation for this class was generated from the following file:
Generated at Sat May 12 18:59:40 2007 for GNU CommonC++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001