BloombergLP::bdlt::bdexStreamIn

Load into variable the enum value read from stream using BDEX.

Synopses

Declared in <bdlt_dayofweek.h>

Load into variable the enum value read from stream using BDEX.

template<class STREAM>
STREAM&
bdexStreamIn(
    STREAM& stream,
    DayOfWeek::Enum& variable,
    int version);
» more...

Load into variable the enum value read from stream using BDEX.

template<class STREAM>
STREAM&
bdexStreamIn(
    STREAM& stream,
    MonthOfYear::Enum& variable,
    int version);
» more...

Return Value

a reference to stream

Parameters

NameDescription
streaminput stream providing the BDEX encoding
variablereceives the streamed enumeration value
versionBDEX format version to use