BloombergLP::bdlb::Variant_BdexStreamInVisitor

This visitor, when invoked as a non-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.

Synopsis

Declared in <bdlb_variant.h>

template<class STREAM>
struct Variant_BdexStreamInVisitor;

Member Functions

NameDescription
Variant_BdexStreamInVisitor [constructor]Create an input-stream visitor reading from the specified stream using the specified BDEX version.
operator() Function call operators

Data Members

NameDescription
d_stream input stream (held, not owned)
d_version BDEX format version