Poster of Linux kernelThe best gift for a Linux geek
ost::CommandOptionCollect

ost::CommandOptionCollect

Section: C Library Functions (3) Updated: 16 Feb 2010
Local index Up
 

NAME

ost::CommandOptionCollect -

It only makes sense to have a single one of these set and it is also exclusive with CommandOptionRest.

 

SYNOPSIS


#include <cmdoptns.h>

Inherits ost::CommandOptionWithArg.  

Public Member Functions


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.

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

CommandOption to collect parameters that are not options.

Examples:

cmdlineopt.cpp.  

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

 

Author

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


 

Index

NAME
SYNOPSIS
Public Member Functions
Detailed Description
Constructor & Destructor Documentation
ost::CommandOptionCollect::CommandOptionCollect (const char * inOptionName, const char * inOptionLetter, const char * inDescription, bool inRequired = false, CommandOption ** ppNext = &defaultCommandOptionList)
Author

This document was created by man2html, using the manual pages.
Time: 21:51:50 GMT, April 16, 2011