#include <cmdoptns.h>
Public Member Functions | |
CommandOptionCollect (const char *inOptionName, const char *inOptionLetter, const char *inDescription, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList) | |
CommandOptionRest contructor. |
This makes parameter collecting behave line the Unix "cat" command.
CommandOption to collect parameters that are not options.
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.
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 |