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.

std::ostream&
operator<<(
    std::ostream& stream,
    DatumBinaryRef const& rhs);

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.

std::ostream&
operator<<(
    std::ostream& stream,
    DatumError const& rhs);

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.

std::ostream&
operator<<(
    std::ostream& stream,
    DatumUdt const& rhs);

Write the specified rhs datum to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Datum const& rhs);

Write the string representation of rhs to stream.

std::ostream&
operator<<(
    std::ostream& stream,
    Datum::DataType rhs);

Write the specified array reference to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    DatumArrayRef const& rhs);

Write the specified int‐map entry to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    DatumIntMapEntry const& rhs);

Write the specified int‐map reference to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    DatumIntMapRef const& rhs);

Write the specified map entry to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    DatumMapEntry const& rhs);

Write the specified map reference to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    DatumMapRef const& rhs);

Write the specified rhs value to the specified output stream.

std::ostream&
operator<<(
    std::ostream& stream,
    ManagedDatum const& rhs);

Return Value

  • reference to stream

  • reference to the modifyable stream

  • a reference to stream

  • reference to the modifiable stream

Parameters

Name

Description

stream

output stream

rhs

object to write

Created with MrDocs