MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / doesRequireValue

Method doesRequireValue

src/base/program_options.h:48–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 const std::string& getValueName() const { return m_valueName; }
47 char mnemonic() const { return m_mnemonic; }
48 bool doesRequireValue() const { return !m_valueName.empty(); }
49 // Setters
50 Option& alias(const std::string& alias) { m_alias = alias; return *this; }
51 Option& description(const std::string& desc) { m_description = desc; return *this; }

Callers 3

TESTFunction · 0.80
parseMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by 1

TESTFunction · 0.64