[#BloombergLP-bslx-operator_lshift-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::operator&lt;&lt;
:relfileprefix: ../../
:mrdocs:

Stream insertion operators

== Synopses

Declared in `&lt;bslx&lowbar;byteinstream&period;h&gt;`

Write the string representation of `value` to `stream` in a single&hyphen;line format&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:BloombergLP/bslx/operator_lshift-03.adoc[operator&lt;&lt;](
    std::ostream& stream,
    xref:BloombergLP/bslx/TypeCode/Enum.adoc[TypeCode::Enum] value);
----

[.small]#xref:BloombergLP/bslx/operator_lshift-03.adoc[_» more&period;&period;&period;_]#

Write the BDEX&hyphen;compliant `value` to the specified output `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAMBUF,
    class TYPE&gt;
xref:BloombergLP/bslx/GenericOutStream.adoc[GenericOutStream&lt;STREAMBUF&gt;]&
xref:BloombergLP/bslx/operator_lshift-0e.adoc[operator&lt;&lt;](
    xref:BloombergLP/bslx/GenericOutStream.adoc[GenericOutStream&lt;STREAMBUF&gt;]& stream,
    TYPE const& value);
----

[.small]#xref:BloombergLP/bslx/operator_lshift-0e.adoc[_» more&period;&period;&period;_]#

Write the specified `object` to the specified output `stream` in some reasonable (multi&hyphen;line) format, and return a reference to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:BloombergLP/bslx/operator_lshift-0ae.adoc[operator&lt;&lt;](
    std::ostream& stream,
    xref:BloombergLP/bslx/ByteInStream.adoc[ByteInStream] const& object);
----

[.small]#xref:BloombergLP/bslx/operator_lshift-0ae.adoc[_» more&period;&period;&period;_]#

Write the specified `object` to the specified output `stream` in some reasonable (multi&hyphen;line) format, and return a reference to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:BloombergLP/bslx/operator_lshift-0a1.adoc[operator&lt;&lt;](
    std::ostream& stream,
    xref:BloombergLP/bslx/TestInStream.adoc[TestInStream] const& object);
----

[.small]#xref:BloombergLP/bslx/operator_lshift-0a1.adoc[_» more&period;&period;&period;_]#

Write the specified `object` to the specified output `stream` in some reasonable (multi&hyphen;line) format, and return a reference to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:BloombergLP/bslx/operator_lshift-0f5.adoc[operator&lt;&lt;](
    std::ostream& stream,
    xref:BloombergLP/bslx/ByteOutStream.adoc[ByteOutStream] const& object);
----

[.small]#xref:BloombergLP/bslx/operator_lshift-0f5.adoc[_» more&period;&period;&period;_]#

Write the BDEX&hyphen;compliant `value` to the specified output `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bslx/ByteOutStream.adoc[ByteOutStream]&
xref:BloombergLP/bslx/operator_lshift-0fc.adoc[operator&lt;&lt;](
    xref:BloombergLP/bslx/ByteOutStream.adoc[ByteOutStream]& stream,
    TYPE const& value);
----

[.small]#xref:BloombergLP/bslx/operator_lshift-0fc.adoc[_» more&period;&period;&period;_]#

Write the specified `object` to the specified output `stream` in some reasonable (multi&hyphen;line) format, and return a reference to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ostream&
xref:BloombergLP/bslx/operator_lshift-06.adoc[operator&lt;&lt;](
    std::ostream& stream,
    xref:BloombergLP/bslx/TestOutStream.adoc[TestOutStream] const& object);
----

[.small]#xref:BloombergLP/bslx/operator_lshift-06.adoc[_» more&period;&period;&period;_]#

Write a BDEX&hyphen;compliant `value` to the specified test output `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bslx/TestOutStream.adoc[TestOutStream]&
xref:BloombergLP/bslx/operator_lshift-09.adoc[operator&lt;&lt;](
    xref:BloombergLP/bslx/TestOutStream.adoc[TestOutStream]& stream,
    TYPE const& value);
----

[.small]#xref:BloombergLP/bslx/operator_lshift-09.adoc[_» more&period;&period;&period;_]#

== Return Value

a reference to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream to which `value` is written
| *value*
| enumeration value to format
| *object*
| byte in stream to format
|===


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