bdexStreamOut overloads

Synopses

Declared in <bslx_outstreamfunctions.h>

BDEX‐stream value to stream (version computed if needed).

template<
    class STREAM,
    class TYPE>
STREAM&
bdexStreamOut(
    STREAM& stream,
    TYPE const& value);

BDEX‐stream a bsl::vector<TYPE, ALLOC> value to stream.

template<
    class STREAM,
    class TYPE,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<TYPE, ALLOC> const& value);

BDEX‐stream a bsls::Types::Int64 value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsls::Types::Int64 const& value,
    int version = 0);

BDEX‐stream a bsls::Types::Uint64 value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsls::Types::Uint64 const& value,
    int version = 0);

BDEX‐stream a bool value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bool const& value,
    int version = 0);

BDEX‐stream a char value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    char const& value,
    int version = 0);

BDEX‐stream a double value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    double const& value,
    int version = 0);

BDEX‐stream a float value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    float const& value,
    int version = 0);

BDEX‐stream an int value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    int const& value,
    int version = 0);

BDEX‐stream a long value to stream as a 32‐bit int.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    long const& value,
    int version = 0);

BDEX‐stream a short value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    short const& value,
    int version = 0);

BDEX‐stream a signed char value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    signed char const& value,
    int version = 0);

BDEX‐stream a bsl::string value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::string const& value,
    int version = 0);

BDEX‐stream an unsigned char value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    unsigned char const& value,
    int version = 0);

BDEX‐stream an unsigned int value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    unsigned int const& value,
    int version = 0);

BDEX‐stream an unsigned long to stream as a 32‐bit unsigned int.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    unsigned long const& value,
    int version = 0);

BDEX‐stream an unsigned short value to stream.

template<class STREAM>
STREAM&
bdexStreamOut(
    STREAM& stream,
    unsigned short const& value,
    int version = 0);

BDEX‐stream value to stream using the specified version.

template<
    class STREAM,
    class TYPE>
STREAM&
bdexStreamOut(
    STREAM& stream,
    TYPE const& value,
    int version);

BDEX‐stream a bsl::vector<bsls::Types::Int64, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<bsls::Types::Int64, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<bsls::Types::Uint64, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<bsls::Types::Uint64, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<char, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<char, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<double, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<double, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<float, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<float, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<int, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<int, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<short, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<short, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<signed char, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<signed char, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<unsigned char, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<unsigned char, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<unsigned int, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<unsigned int, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<unsigned short, ALLOC> value to stream.

template<
    class STREAM,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<unsigned short, ALLOC> const& value,
    int version);

BDEX‐stream a bsl::vector<TYPE, ALLOC> using the specified version.

template<
    class STREAM,
    class TYPE,
    class ALLOC>
STREAM&
bdexStreamOut(
    STREAM& stream,
    bsl::vector<TYPE, ALLOC> const& value,
    int version);

Return Value

a reference to stream

Parameters

Name

Description

stream

output stream to write to

value

value to externalize

version

ignored version number

Created with MrDocs