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

Synopsis

Declared in <balcl_commandline.h>

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

Description

Optionally specify errorStream to which error messages are written. If no errorStream is specified, this method produces not output. See {Valid balcl::OptionInfo Specifications} for a description of the validity requirements. The behavior is undefined unless 0 <= length. Note that specTable need not be statically initialized.

Return Value

true if specTable has valid option specifications, and false otherwise

Parameters

Name

Description

specTable

option specification table

length

number of entries in specTable

Created with MrDocs