[#BloombergLP-bslfmt-TestSpecificationGenerator-addWidth] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/TestSpecificationGenerator.adoc[TestSpecificationGenerator]::addWidth :relfileprefix: ../../../ :mrdocs: Add a width value to the set used when generating specifications. == Synopsis Declared in `<bslfmt_testspecificationgenerator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void addWidth(int width); ---- == Description Add the specified `width` to the set of width values. Note that generated instructions will contain the `width` only if this function is called before the `setup` method invocation. == Parameters [cols="1,4"] |=== | Name| Description | *width* | positive width value to add to the generation set |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#