[#BloombergLP-bslfmt-TestSpecificationGenerator-nextValidForFormat]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/TestSpecificationGenerator.adoc[TestSpecificationGenerator]::nextValidForFormat
:relfileprefix: ../../../
:mrdocs:

Advance to the next state that yields a specification valid for `format`&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;testspecificationgenerator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
nextValidForFormat();
----

== Description

Switch this object to the next state appropriate for generating a specification valid for formatters `format` method and generate specification based on the new state&period;

== Return Value

`true` if a subsequent valid&hyphen;for&hyphen;format state remains, and `false` otherwise


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