Stream insertion operators

Synopses

Declared in <bdlb_bigendian.h>

Write the specified integer to the specified output stream and return a reference to the modifiable stream.

std::ostream&
operator<<(
    std::ostream& stream,
    BigEndianInt16 const& integer);

Write the value of the specified printer object to the specified output stream in a single‐line format, and return a reference to 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); `

template<class t_VARIANT>
std::ostream&
operator<<(
    std::ostream& stream,
    VariantPrinter<t_VARIANT> const& printer);

Write the value of the specified printer object to the specified output stream in a single‐line format, and return a reference to 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); `

template<class TYPE>
std::ostream&
operator<<(
    std::ostream& stream,
    OptionalPrinter<TYPE> const& printer);

Write the value of the specified object to the specified output stream in a single‐line format, and return a reference to 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); `

std::ostream&
operator<<(
    std::ostream& stream,
    IndexSpan const& object);

Write the specified integer to the specified output stream, and return a reference to the modifiable stream.

std::ostream&
operator<<(
    std::ostream& stream,
    BigEndianUint64 const& integer);

Write the specified integer to the specified output stream, and return a reference to the modifiable stream.

std::ostream&
operator<<(
    std::ostream& stream,
    BigEndianInt64 const& integer);

Write the specified integer to the specified output stream, and return a reference to the modifiable stream.

std::ostream&
operator<<(
    std::ostream& stream,
    BigEndianUint32 const& integer);

Write the specified integer to the specified output stream, and return a reference to the modifiable stream.

std::ostream&
operator<<(
    std::ostream& stream,
    BigEndianInt32 const& integer);

Write the specified integer to the specified output stream, and return a reference to the modifiable stream.

std::ostream&
operator<<(
    std::ostream& stream,
    BigEndianUint16 const& integer);

Hex dump the data referenced by the specified rhs to the specified stream.

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

Write the value of the specified object to the specified output stream and return a non‐`const` reference to stream. If stream is not valid on entry, this operation has no effect. Note that this human‐readable format is not fully specified and can change without notice.

template<class TYPE>
std::ostream&
operator<<(
    std::ostream& stream,
    PrintAdapter<TYPE> const& adapter);

Write the specified character category enumerator to the specified output stream as a string that is identical to the enumerator name.

std::ostream&
operator<<(
    std::ostream& out,
    CharType::Category category);

Write the value of the specified guid object to the specified output stream in a single‐line format, and return a reference to 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); `

std::ostream&
operator<<(
    std::ostream& stream,
    Guid const& guid);

Write the value of the specified object to the specified output stream in a single‐line format, and return a reference to 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); `

template<class TYPE>
std::ostream&
operator<<(
    std::ostream& stream,
    NullableAllocatedValue<TYPE> const& object);

Write the value of the specified object to the specified output stream in a single‐line format, and return a reference to 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); `

template<class TYPE>
std::ostream&
operator<<(
    std::ostream& stream,
    NullableValue<TYPE> const& object);

Write the specified variant object to the specified output stream in a single‐line (human‐readable) format, and return a reference to stream.

template<class TYPES>
std::ostream&
operator<<(
    std::ostream& stream,
    VariantImp<TYPES> const& object);

Hex dump the data referenced by the specified rhs to the specified stream.

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

Created with MrDocs