ost::CommandOptionNoArg(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

✨ 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::foundOption will evpect a nil value passed 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 β€” true if 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 about contructor and evpect, 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