BloombergLP::balcl::CommandLine::isSpecified

Return true if the option with name was entered on the command line.

Synopses

Declared in <balcl_commandline.h>

Return true if the option with name was entered on the command line.

bool
isSpecified(std::string_view const& name) const;
» more...

Return true if the option with name was entered on the command line.

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

Return Value

true if the named option was entered on the command line, and false otherwise

Parameters

NameDescription
nameoption name to query
countloaded with the number of times name was entered