class CommandOptionCollect

CommandOption to collect parameters that are not options. More...

Full nameost::CommandOptionCollect
Definition#include <cmdoptns.h>
Inheritsost::CommandOptionWithArg [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

It only makes sense to have a single one of these set and it is also exclusive with CommandOptionRest. This makes parameter collecting behave line the Unix "cat" command.

 CommandOptionCollect ( const char * in_option_name, const char * in_option_letter, const char * in_description, bool in_required = false, CommandOption ** pp_next = & DefaultCommandOptionList )

CommandOptionCollect

CommandOptionRest contructor. This sets the option_type for this object to Collect.

Parameters:
in_option_namelong option name
in_option_lettershort letter name
in_descriptionshort description of the option
in_requiredtrue if option is required
pp_nextthe linked list header


Generated by: dyfet on home on Fri Jan 4 18:52:16 2002, using kdoc 2.0a53.