logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

ost::CommandOptionNoArg - CommandOption type for flags.

Author

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

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

Constructor & Destructor Documentation

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

       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

CommandOption type for flags.

       Examplescmdlineopt.cpp.

Member Data Documentation

intost::CommandOptionNoArg::numSet
       The number of times this value has been set.

Member Function Documentation

virtualvoidost::CommandOptionNoArg::foundOption(CommandOptionParse*cop,constchar*value=0)[virtual]CommandOptionNoArg::foundOption will evpect a nil 'value' passed in.

       Reimplemented from ost::CommandOption.

Name

       ost::CommandOptionNoArg - CommandOption type for flags.

Synopsis

       #include <cmdoptns.h>

       Inherits ost::CommandOption.

   PublicMemberFunctionsCommandOptionNoArg (const char *inOptionName, const char *inOptionLetter, const char *inDescription, bool
           inRequired=false, CommandOption **ppNext=&defaultCommandOptionList)
           CommandOptionArg contructor.
       virtual void foundOption (CommandOptionParse *cop, const char *value=0)
           CommandOptionNoArg::foundOption will evpect a nil 'value' passed in.

   PublicAttributes
       int numSet
           The number of times this value has been set.

   AdditionalInheritedMembers

See Also