[#BloombergLP-bdlt-bdexStreamIn-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::bdexStreamIn
:relfileprefix: ../../
:mrdocs:

Load into `variable` the enum value read from `stream` using BDEX&period;

== Synopses

Declared in `&lt;bdlt&lowbar;dayofweek&period;h&gt;`

Load into `variable` the enum value read from `stream` using BDEX&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
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&period;&period;&period;_]#

Load into `variable` the enum value read from `stream` using BDEX&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
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&period;&period;&period;_]#

== Return Value

a reference to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| input stream providing the BDEX encoding
| *variable*
| receives the streamed enumeration value
| *version*
| BDEX format version to use
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
