BloombergLP::bdlt::DayOfWeek::bdexStreamOut

Write value to stream using the specified BDEX version format.

Synopsis

Declared in <bdlt_dayofweek.h>

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

Description

Write the value of the specified value, using the specified version format, to the specified output stream, and return a reference to stream. If stream is initially invalid, this operation has no effect. If version is not supported, stream is invalidated, but otherwise unmodified. Note that version is not written to stream. See the bslx package-level documentation for more information on BDEX streaming of value-semantic types and containers.

Return Value

a reference to stream

Parameters

NameDescription
streamoutput stream receiving the BDEX encoding
valueenumeration value to stream
versionBDEX format version to use