BloombergLP::bdlb::Variant_BdexStreamOutVisitor

This visitor, when invoked as a non-modifiable function object on an initialized instance of some parameterized TYPE, will stream out the value of that instance into 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_BdexStreamOutVisitor;

Member Functions

NameDescription
Variant_BdexStreamOutVisitor [constructor]Create an output-stream visitor writing to the specified stream using the specified BDEX version.
operator() Function call operators

Data Members

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