Write the specified value to the specified output stream and return a reference to the modifiable stream.

Synopsis

Declared in <balb_testmessages.h>

template<class STREAM>
static
STREAM&
bdexStreamOut(
    STREAM& stream,
    Value value,
    int version);

Description

Optionally specify an explicit version format; by default, the maximum supported version is written to stream and used as the format. If version is specified, that format is used but not written to stream. If version is not supported, stream is left unmodified. (See the package‐group‐level documentation for more information on bdex streaming of container types).

Return Value

a reference to the modifiable stream

Parameters

Name

Description

stream

output stream

value

enumeration value to write

version

bdex format version

Created with MrDocs