[#BloombergLP-balxml-TypesPrintUtil-printDefault]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/TypesPrintUtil.adoc[TypesPrintUtil]::printDefault
:relfileprefix: ../../../
:mrdocs:

Format the specified `object` to the specified output `stream` using the `bdlat&lowbar;FormattingMode&colon;&colon;e&lowbar;DEFAULT` formatting mode&period;

== Synopsis

Declared in `&lt;balxml&lowbar;typesprintutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
static
std::ostream&
printDefault(
    std::ostream& stream,
    TYPE const& object,
    xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions] const* encoderOptions = 0);
----

== Description

Optionally use the specified `encoderOptions`&period; Return a reference to `stream`&period;

== Return Value

a reference to the modifiable `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream to receive the formatted text
| *object*
| value to format
| *encoderOptions*
| encoding options&semi; null uses defaults
|===


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