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
Declared in <bdld_datum.h>
std::ostream&
operator<<(
std::ostream& stream,
Datum const& rhs);
bool - true/false
DatumError - error(code)/error(code, msg) where code is the integer error code and msg is the error description message
int - plain integer value
Int64 - plain Int64 value
double - plain double value
string - plain double-quoted string value
array - [ elem0, ..., elemN] where elem1..elemN are output for individual array elements
int-map - [key0 = val0, ..., keyN = valN] where keyX and valX are respectively key and value of the map entry elements of the map
map - [key0 = val0, ..., keyN = valN] where keyX and valX are respectively key and value of the map entry elements of the map
bdlt::Date - ddMONyyyy
bdlt::Time - hh:mm:ss.sss
bdlt::Datetime - ddMONyyyy_hh:mm:ss.sss
bdlt::DatetimeInterval - sDD_HH:MM:SS.SSS (where s is the sign(+/-))
DatumUdt - user-defined(address,type) where address is a hex encoded pointer to the user-defined object and type is its type ` and return a reference to the modifiable stream. The function will have no effect if the specified stream is not valid.