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)[]);

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

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

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);

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);

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);

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

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

Return Value

true if specTable has valid option specifications, and false otherwise

Parameters

Name

Description

specTable

statically‐initialized option specification table

length

number of entries in specTable

errorStream

stream to which error messages are written

Created with MrDocs