[#BloombergLP-balxml-TypesPrintUtil-print] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/TypesPrintUtil.adoc[TypesPrintUtil]::print :relfileprefix: ../../../ :mrdocs: Format the specified `object` to the specified output `stream` using the specified `formattingMode` and the optionally specified `encoderOptions` and return a reference to `stream`. The behavior is undefined unless the parameterized `TYPE` and the `formattingMode` combination is supported (supported combinations are listed in the component‐level documentation). == Synopsis Declared in `<balxml_typesprintutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static std::ostream& print( std::ostream& stream, TYPE const& object, int formattingMode, xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions] const* encoderOptions = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#