[#BloombergLP-bslfmt-TestSpecificationGenerator_BoolOption-nextState] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/TestSpecificationGenerator_BoolOption.adoc[TestSpecificationGenerator_BoolOption]::nextState :relfileprefix: ../../../ :mrdocs: Switch the state of this object to the next one. == Synopsis Declared in `<bslfmt_testspecificationgenerator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool nextState(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#