Reference

CommandOptionCollect(3cc)

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.

NAME

CommandOptionCollect - 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.

SYNOPSIS

#include <cmdoptns.h>

Inherits CommandOptionWithArg.

Public Methods

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

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

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

AUTHOR

Generated automatically by Doxygen for CommonC++ from the source code.