ost::CommandOptionNoArg(3)
β¨ ost::CommandOptionNoArg(3) β¨
okay bestie, welcome to the Library Functions Manual π this is your girl's breakdown of ost::CommandOptionNoArg(3) and we are gonna get you so comfy with it, no cap.
π NAME π
ost::CommandOptionNoArg β it's the CommandOption type for flags, periodt. π
πΈ SYNOPSIS πΈ
#include <cmdoptns.h>
Inherits ost::CommandOption. yes bestie, it's giving nepo baby but make it C++ inheritance β¨
π Public Member Functions π
CommandOptionNoArg(const char *inOptionName, const char *inOptionLetter, const char *inDescription, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList)β the CommandOptionArg contructor. (that's the original spelling, i don't make the rules π)virtual void foundOption(CommandOptionParse *cop, const char *value=0)βCommandOptionNoArg::foundOptionwill evpect a nilvaluepassed in. yes, evpect. iconic typo behavior π
π Public Attributes π
int numSetβ the number of times this value has been set. literally counting your wins fr fr π₯
π¦ Additional Inherited Members π¦
(the rest of the family is inherited, iykyk)
π Detailed Description π
CommandOption type for flags. that's the whole vibe, she's a flag, she's simple, she's main character energy π
Examples
cmdlineopt.cpp. go look at it bestie, it's right there π
π§ Constructor & Destructor Documentation π§
β ost::CommandOptionNoArg::CommandOptionNoArg (const char * inOptionName, const char * inOptionLetter, const char * inDescription, bool inRequired = false, CommandOption ** ppNext = &defaultCommandOptionList)
CommandOptionArg contructor. (yes, still spelled like that, love that for us π
) this sets the optionType for this object to NoArg. so she knows who she is. slay.
Parameters
inOptionNameβ long option name πΈinOptionLetterβ short letter name πinDescriptionβ short description of the option β¨inRequiredβtrueif option is required π«ΆppNextβ the linked list header π
π Member Function Documentation π
π virtual void ost::CommandOptionNoArg::foundOption (CommandOptionParse * cop, const char * value = 0) [virtual]
CommandOptionNoArg::foundOption will evpect a nil value passed in. like, she expects nothing, she gives everything, that's the energy π
Reimplemented from ost::CommandOption. so yeah, she's overriding her parent, respectfully π
π Member Data Documentation π
π« int ost::CommandOptionNoArg::numSet
The number of times this value has been set. it's literally a counter, bestie, keep track of your blessings β¨
π¦ Author π¦
Generated automatically by Doxygen for GNU CommonC++ from the source code. so no, a human did not hand-write this, a robot did and honestly she ate π€π
lowkey reminder: every flag, param, type and default up there is exactly as the original says it β vibe upgraded, facts untouched. don't come for me aboutcontructorandevpect, they're canon π
and that's the whole page bestie!! ππ this was GNU CommonC++'s ost::CommandOptionNoArg(3) manual, dated Sun Dec 27 2020 β mwah, go write some flags, you got this ππ«Άβ¨
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms