BloombergLP::balcl::CommandLine::isValidOptionSpecificationTable

isValidOptionSpecificationTable overloads

Synopses

Declared in <balcl_commandline.h>

Return true if the specified (statically-initialized) specTable has a valid set of command-line option specifications, and false otherwise.

template<int LENGTH>
static
bool
isValidOptionSpecificationTable(OptionInfo(& specTable)[]);
» more...

Return true if the specified specTable of length LENGTH has valid option specifications.

template<int LENGTH>
static
bool
isValidOptionSpecificationTable(OptionInfo const(& specTable)[]);
» more...

Return true if the specified specTable of the specified length has a valid set of command-line option specifications, and false otherwise.

static
bool
isValidOptionSpecificationTable(
    OptionInfo const* specTable,
    int length);
» more...

Return true if the specified (statically-initialized) specTable has a valid set of command-line option specifications, and false otherwise.

template<int LENGTH>
static
bool
isValidOptionSpecificationTable(
    OptionInfo(& specTable)[],
    std::ostream& errorStream);
» more...

Return true if the specified (statically-initialized) specTable has a valid set of command-line option specifications, and false otherwise.

template<int LENGTH>
static
bool
isValidOptionSpecificationTable(
    OptionInfo const(& specTable)[],
    std::ostream& errorStream);
» more...

Same as the preceding overload, but write error messages to the specified errorStream.

static
bool
isValidOptionSpecificationTable(
    OptionInfo const* specTable,
    int length,
    std::ostream& errorStream);
» more...

Return Value

true if specTable has valid option specifications, and false otherwise

Parameters

NameDescription
specTablestatically-initialized option specification table
lengthnumber of entries in specTable
errorStreamstream to which error messages are written