logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ost::CommandOptionCollect - It only makes sense to have a single one of these set and it is also

Author

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

GNU CommonC++                                    Sun Dec 27 2020                    ost::CommandOptionCollect(3)

Constructor & Destructor Documentation

ost::CommandOptionCollect::CommandOptionCollect(constchar*inOptionName,constchar*inOptionLetter,constchar*inDescription,boolinRequired=false,CommandOption**ppNext=&defaultCommandOptionList)CommandOptionRest contructor. This sets the optionType for this object to Collect.

       ParametersinOptionName long option name
           inOptionLetter short letter name
           inDescription short description of the option
           inRequired true if option is required
           ppNext the linked list header

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.

       Examplescmdlineopt.cpp.

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.

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

   AdditionalInheritedMembers

See Also