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);

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

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

Return Value

a reference to stream

Parameters

Name

Description

stream

input stream providing the BDEX encoding

variable

receives the streamed enumeration value

version

BDEX format version to use

Created with MrDocs