[#BloombergLP-bdlb-Variant_BdexStreamInVisitor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::Variant&lowbar;BdexStreamInVisitor
:relfileprefix: ../../
:mrdocs:

This visitor, when invoked as a non&hyphen;modifiable function object on an initialized instance of some parameterized `TYPE`, will stream in a value of the same `TYPE` into that instance from a stream specified at construction of this visitor, using a version also specified at construction of this visitor&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
struct Variant&lowbar;BdexStreamInVisitor;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/Variant_BdexStreamInVisitor/2constructor.adoc[`Variant&lowbar;BdexStreamInVisitor`]         [.small]#[constructor]#
| Create an input&hyphen;stream visitor reading from the specified `stream` using the specified BDEX `version`&period;
| xref:BloombergLP/bdlb/Variant_BdexStreamInVisitor/operator_call-07.adoc[`operator()`] 
| Function call operators
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/Variant_BdexStreamInVisitor/d_stream.adoc[`d&lowbar;stream`] 
| input stream (held, not owned)
| xref:BloombergLP/bdlb/Variant_BdexStreamInVisitor/d_version.adoc[`d&lowbar;version`] 
| BDEX format version
|===



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