[#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;


[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 `specTable` of length `LENGTH` has valid option specifications&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;


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


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


[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;_]#

== Return Value

`true` if `specTable` has valid option specifications, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *specTable*
| statically&hyphen;initialized option specification table
| *length*
| number of entries in `specTable`
| *errorStream*
| stream to which error messages are written
|===


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