[#BloombergLP-bdlt-bdexStreamIn-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::bdexStreamIn :relfileprefix: ../../ :mrdocs: `bdexStreamIn` overloads == Synopses Declared in `<bdlt_dayofweek.h>` Load into the specified `variable` the `DayOfWeek::Enum` value read from the specified input `stream` using the specified `version` format, and return a reference to `stream`. If `stream` is initially invalid, this operation has no effect. If `version` is not supported by `DayOfWeek`, `variable` is unaltered and `stream` is invalidated, but otherwise unmodified. If `version` is supported by `DayOfWeek` but `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. The behavior is undefined unless `STREAM` is BDEX‐compliant. Note that no version is read from `stream`. See the `bslx` package‐level documentation for more information on BDEX streaming of value‐semantic types and containers. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bdlt/bdexStreamIn-08.adoc[bdexStreamIn]( STREAM& stream, xref:BloombergLP/bdlt/DayOfWeek/Enum.adoc[DayOfWeek::Enum]& variable, int version); ---- [.small]#xref:BloombergLP/bdlt/bdexStreamIn-08.adoc[_» more..._]# Load into the specified `variable` the `MonthOfYear::Enum` value read from the specified input `stream` using the specified `version` format, and return a reference to `stream`. If `stream` is initially invalid, this operation has no effect. If `version` is not supported by `MonthOfYear`, `variable` is unaltered and `stream` is invalidated, but otherwise unmodified. If `version` is supported by `MonthOfYear` but `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. The behavior is undefined unless `STREAM` is BDEX‐compliant. Note that no version is read from `stream`. See the `bslx` package‐level documentation for more information on BDEX streaming of value‐semantic types and containers. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bdlt/bdexStreamIn-02.adoc[bdexStreamIn]( STREAM& stream, xref:BloombergLP/bdlt/MonthOfYear/Enum.adoc[MonthOfYear::Enum]& variable, int version); ---- [.small]#xref:BloombergLP/bdlt/bdexStreamIn-02.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#