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. Non‐const specTable entries may be updated in place.
template<int LENGTH>
static
bool
isValidOptionSpecificationTable(OptionInfo(& specTable)[]);
Return true if the specified (statically‐initialized) specTable of the specified LENGTH has a valid set of command‐line option specifications, and false otherwise. 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.
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. 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.
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. Write error messages to the specified errorStream.
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. Write error messages to the specified errorStream.
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);
Created with MrDocs