[#BloombergLP-balcl-CommandLine-isValidOptionSpecificationTable-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::isValidOptionSpecificationTable
:relfileprefix: ../../../
:mrdocs:

`isValidOptionSpecificationTable` overloads

== Synopses

Declared in `&lt;balcl&lowbar;commandline&period;h&gt;`

Return `true` if the specified (statically&hyphen;initialized) `specTable` has a valid set of command&hyphen;line option specifications, and `false` otherwise&period; Non&hyphen;const `specTable` entries may be updated in place&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;int LENGTH&gt;
static
bool
xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-0a.adoc[isValidOptionSpecificationTable](xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo](& specTable)[]);
----

[.small]#xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-0a.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified (statically&hyphen;initialized) `specTable` of the specified `LENGTH` has a valid set of command&hyphen;line option specifications, and `false` otherwise&period; Optionally specify `errorStream` to which error messages are written&period; If no `errorStream` is specified, this method produces no output&period; See &lcub;Valid `balcl&colon;&colon;OptionInfo` Specifications&rcub; for a description of the validity requirements&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;int LENGTH&gt;
static
bool
xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-03.adoc[isValidOptionSpecificationTable](xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo] const(& specTable)[]);
----

[.small]#xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-03.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `specTable` of the specified `length` has a valid set of command&hyphen;line option specifications, and `false` otherwise&period; Optionally specify `errorStream` to which error messages are written&period; If no `errorStream` is specified, this method produces not output&period; See &lcub;Valid `balcl&colon;&colon;OptionInfo` Specifications&rcub; for a description of the validity requirements&period; The behavior is undefined unless `0 &lt;&equals; length`&period; Note that `specTable` need not be statically initialized&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-02.adoc[isValidOptionSpecificationTable](
    xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo] const* specTable,
    int length);
----

[.small]#xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-02.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified (statically&hyphen;initialized) `specTable` has a valid set of command&hyphen;line option specifications, and `false` otherwise&period; Write error messages to the specified `errorStream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;int LENGTH&gt;
static
bool
xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-01.adoc[isValidOptionSpecificationTable](
    xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo](& specTable)[],
    std::ostream& errorStream);
----

[.small]#xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-01.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified (statically&hyphen;initialized) `specTable` has a valid set of command&hyphen;line option specifications, and `false` otherwise&period; Write error messages to the specified `errorStream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;int LENGTH&gt;
static
bool
xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-07.adoc[isValidOptionSpecificationTable](
    xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo] const(& specTable)[],
    std::ostream& errorStream);
----

[.small]#xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-07.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, but write error messages to the specified `errorStream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-05.adoc[isValidOptionSpecificationTable](
    xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo] const* specTable,
    int length,
    std::ostream& errorStream);
----

[.small]#xref:BloombergLP/balcl/CommandLine/isValidOptionSpecificationTable-05.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
