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

Name

Description

Variant_BdexStreamInVisitor [constructor]

Create an input‐stream visitor reading from the specified stream using the specified BDEX version.

operator()

Function call operators

Data Members

Name

Description

d_stream

input stream (held, not owned)

d_version

BDEX format version

Created with MrDocs