Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ost_commandoptioncollect(3) [debian man page]

ost::CommandOptionCollect(3)				     Library Functions Manual				      ost::CommandOptionCollect(3)

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. Additional Inherited Members 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, boolinRequired = 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. GNU CommonC++ Sat Jun 23 2012 ost::CommandOptionCollect(3)

Check Out this Related Man Page

ost::CommandOptionWithArg(3)				     Library Functions Manual				      ost::CommandOptionWithArg(3)

NAME
ost::CommandOptionWithArg - Derived class of CommandOption for options that have a value associated with them. SYNOPSIS
#include <cmdoptns.h> Inherits ost::CommandOption. Inherited by ost::CommandOptionArg, ost::CommandOptionCollect, and ost::CommandOptionRest. Public Member Functions CommandOptionWithArg (const char *inOptionName, const char *inOptionLetter, const char *inDescription, OptionType inOptionType, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList) CommandOptionWithArg contructor. virtual ~CommandOptionWithArg () virtual void foundOption (CommandOptionParse *cop, const char *value=0) virtual void foundOption (CommandOptionParse *cop, const char **value, int num) virtual bool hasValue () Public Attributes const char ** values Array of list of values collected for this option. int numValue Number of values in the values array. Additional Inherited Members Detailed Description Derived class of CommandOption for options that have a value associated with them. Classes CommandOptionRest and CommandOptionArg derive from this class. Constructor &; Destructor Documentation ost::CommandOptionWithArg::CommandOptionWithArg (const char *inOptionName, const char *inOptionLetter, const char *inDescription, OptionTypeinOptionType, boolinRequired = false, CommandOption **ppNext = &defaultCommandOptionList) CommandOptionWithArg contructor. Note the default values for required and ppNext. Parameters: inOptionName long option name inOptionLetter short letter name inDescription short description of the option inOptionType the type of this option inRequired true if option is required ppNext the linked list header virtual ost::CommandOptionWithArg::~CommandOptionWithArg () [virtual] Member Function Documentation virtual void ost::CommandOptionWithArg::foundOption (CommandOptionParse *cop, const char *value = 0) [virtual] Reimplemented from ost::CommandOption. virtual void ost::CommandOptionWithArg::foundOption (CommandOptionParse *cop, const char **value, intnum) [virtual] Reimplemented from ost::CommandOption. virtual bool ost::CommandOptionWithArg::hasValue () [virtual] Reimplemented from ost::CommandOption. Member Data Documentation int ost::CommandOptionWithArg::numValue Number of values in the values array. const char** ost::CommandOptionWithArg::values Array of list of values collected for this option. Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::CommandOptionWithArg(3)
Man Page