[#BloombergLP-bdld-operator_lshift-0cb] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::operator<< :relfileprefix: ../../ :mrdocs: Stream insertion operators == Synopses Declared in `<bdld_datum.h>` Write the value of the specified `rhs` object to the specified output `stream` in a single‐line format, and return a reference to the modifyable `stream`. If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, ‐1); ` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-0b4.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/DatumBinaryRef.adoc[DatumBinaryRef] const& rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-0b4.adoc[_» more..._]# Write the value of the specified `rhs` object to the specified output `stream` in a single‐line format, and return a reference to the modifyable `stream`. If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, ‐1); ` Single line output format for the `DatumError` object is shown below: ` error(n) error(n,'msg') ` (where n is the integer error code value and `msg` is the error message value in single quotes). Note that the first version will be output if there is no error message string. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-0ca.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/DatumError.adoc[DatumError] const& rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-0ca.adoc[_» more..._]# Write the value of the specified `rhs` object to the specified output `stream` in a single‐line format, and return a reference to the modifyable `stream`. If `stream` is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified, can change without notice, and is logically equivalent to: ` print(stream, 0, ‐1); ` Single line output format for the `DatumUdt` object is shown below: ` user‐defined(<address>,type) ` (where `address` is hex value of the pointer to the user‐define object and `type` is the type of the user‐defined object) [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-05a.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/DatumUdt.adoc[DatumUdt] const& rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-05a.adoc[_» more..._]# Write the specified `rhs` value to the specified output `stream` in the format shown in the second column in the table below (based on the type of value stored, indicated by the first column): ` null ‐ nil [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-015.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/Datum.adoc[Datum] const& rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-015.adoc[_» more..._]# Write the string representation of the specified enumeration `rhs` to the specified `stream` in a single‐line format, and return a reference to the modifiable `stream`. See `dataTypeToAscii` for what constitutes the string representation of a `Datum::DataType` value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-0b3.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/Datum/DataType.adoc[Datum::DataType] rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-0b3.adoc[_» more..._]# Write the specified `rhs` value to the specified output `stream` in the format shown below: ` [aa,bb,cc]‐ aa, bb and cc are the result of invoking operator `<<` on the individual elements in the array ` and return a reference to the modifiable `stream`. The function will have no effect if the `stream` is not valid. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-034.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/DatumArrayRef.adoc[DatumArrayRef] const& rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-034.adoc[_» more..._]# Write the specified `rhs` value to the specified output `stream` in the format shown below: ` (nnn,aa) ‐ nnn is key integer, while aa is the result of invoking operator `<<` on the value ` and return a reference to the modifiable `stream`. The function will have no effect if the `stream` is not valid. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-033.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/DatumIntMapEntry.adoc[DatumIntMapEntry] const& rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-033.adoc[_» more..._]# Write the specified `rhs` value to the specified output `stream` in the format shown below: ` [ nnn = aa, mmm = bb]‐ nnn and mmm are key ints, while aa and bb are the result of invoking operator `<<` on the individual value elements in the map ` and return a reference to the modifiable `stream`. The function will have no effect if the `stream` is not valid. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-0c0.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/DatumIntMapRef.adoc[DatumIntMapRef] const& rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-0c0.adoc[_» more..._]# Write the specified `rhs` value to the specified output `stream` in the format shown below: ` (abc,aa) ‐ abc is key string, while aa is the result of invoking operator `<<` on the value ` and return a reference to the modifiable `stream`. The function will have no effect if the `stream` is not valid. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-01f.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/DatumMapEntry.adoc[DatumMapEntry] const& rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-01f.adoc[_» more..._]# Write the specified `rhs` value to the specified output `stream` in the format shown below: ` [ abc = aa, pqr = bb]‐ abc and pqr are key strings, while aa and bb are the result of invoking operator '<<' on the individual value elements in the map ` and return a reference to the modifiable `stream`. The function will have no effect if the `stream` is not valid. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-0b8.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/DatumMapRef.adoc[DatumMapRef] const& rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-0b8.adoc[_» more..._]# Write the specified `rhs` value to the specified output `stream` and return a reference to the modifiable `stream`. This function has no effect if `stream` is not valid on entry. Note that this method invokes `operator<<` defined for `Datum`. See the function‐level documentation of the `operator<<` defined for `Datum` for details of the format of the output. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ostream& xref:BloombergLP/bdld/operator_lshift-05d.adoc[operator<<]( std::ostream& stream, xref:BloombergLP/bdld/ManagedDatum.adoc[ManagedDatum] const& rhs); ---- [.small]#xref:BloombergLP/bdld/operator_lshift-05d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#