Stream insertion operators

Synopses

Declared in <bdlb_bigendian.h>

Write the specified integer to the specified output stream.

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

Write the specified printer to the specified output stream.

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

Write the specified printer to the specified output stream.

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

Write the specified object to the specified output stream.

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

Write the specified integer to the specified output stream.

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

Write the specified integer to the specified output stream.

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

Write the specified integer to the specified output stream.

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

Write the specified integer to the specified output stream.

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

Write the specified integer to the specified output 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 specified adapter to the specified output stream.

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

Write category to out using its enumerator name.

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

Write the specified guid to the specified output stream.

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

Write the value of the specified object to the specified output stream.

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

Write the specified object to the specified output stream.

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

Write the specified object to the specified 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);

Return Value

  • a reference to stream

  • reference to stream

  • a reference to out

  • reference to the output stream

Parameters

Name

Description

stream

output stream

integer

value to write

printer

printer object to write

object

object to write

rhs

the hex dumper to insert

adapter

print adapter whose referred object is written

out

stream to which the enumerator name is written

category

character category whose name is written

guid

guid to write

Created with MrDocs