BloombergLP::balcl::CommandLine::isValidOptionSpecificationTable

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

Synopsis

Declared in <balcl_commandline.h>

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

Description

The specTable is statically-initialized. Optionally specify errorStream to which error messages are written. If no errorStream is specified, this method produces no output. See {Valid balcl::OptionInfo Specifications} for a description of the validity requirements.

Return Value

true if specTable has valid option specifications, and false otherwise

Parameters

NameDescription
specTablestatically-initialized option specification table