[#BloombergLP-bdlb-Variant_PrintVisitor-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Variant_PrintVisitor.adoc[Variant&lowbar;PrintVisitor]::Variant&lowbar;PrintVisitor
:relfileprefix: ../../../
:mrdocs:

Create a print visitor writing to the specified `stream` with the specified indentation `level` and `spacesPerLevel`&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;variant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Variant&lowbar;PrintVisitor(
    std::ostream* stream,
    int level,
    int spacesPerLevel);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| stream used for input or output
| *level*
| absolute indentation level
| *spacesPerLevel*
| spaces per indentation level
|===


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