isSpecified overloads

Synopses

Declared in <balcl_commandline.h>

Return true if the option with the specified name has been entered on the command line, and false otherwise. Note that, in order to receive a valid result, the command line must be successfully parsed.

bool
isSpecified(std::string_view const& name) const;

Return true if the option with the specified name has been entered on the command line and load into the specified count the number of times the option name has been entered on the command line; otherwise, return false and leave count unaffected. Note that, in order to receive valid values, the command line must be successfully parsed.

bool
isSpecified(
    std::string_view const& name,
    int* count) const;

Created with MrDocs