[#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`. == Synopsis Declared in `<bslfmt_testspecificationgenerator.h>` [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. == Return Value `true` if a subsequent valid‐for‐format state remains, and `false` otherwise [.small]#Created with https://www.mrdocs.com[MrDocs]#