bdexStreamOut overloads
Synopses
Declared in <bslx_outstreamfunctions.h>
Write the specified value to the specified output stream, and return a reference to stream. If stream is initially invalid, this operation has no effect. If needed, first write the computed version information to the stream and if this version is not supported by TYPE, stream is invalidated. Note that the version is only needed when the (template parameter) TYPE is a bsl::vector or a user‐defined type. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class TYPE>
STREAM&
bdexStreamOut(
STREAM& stream,
TYPE const& value);
Write the specified bsl::vector<TYPE, ALLOC> value to the specified output stream, and return a reference to stream. If stream is initially invalid, this operation has no effect. If needed, first write the computed version information to the stream and if this version is not supported by TYPE and the vector is not empty, stream is invalidated. Note that the version is only needed when the (template parameter) TYPE is a bsl::vector or a user‐defined type. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class TYPE,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<TYPE, ALLOC> const& value);
Write the specified bsls::Types::Int64 value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
bsls::Types::Int64 const& value,
int version = 0);
Write the specified bsls::Types::Uint64 value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
bsls::Types::Uint64 const& value,
int version = 0);
Write the specified bool value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
bool const& value,
int version = 0);
Write the specified char value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
char const& value,
int version = 0);
Write the specified double value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
double const& value,
int version = 0);
Write the specified float value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
float const& value,
int version = 0);
Write the specified int value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
int const& value,
int version = 0);
Write the specified long value to the specified output stream as a 32‐bit int, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. Note that for platforms where long is not equivalent to int32_t, this operation may be lossy. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
long const& value,
int version = 0);
Write the specified short value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
short const& value,
int version = 0);
Write the specified signed char value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
signed char const& value,
int version = 0);
Write the specified bsl::string value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::string const& value,
int version = 0);
Write the specified unsigned char value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
unsigned char const& value,
int version = 0);
Write the specified unsigned int value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
unsigned int const& value,
int version = 0);
Write the specified unsigned long value to the specified output stream as a 32‐bit unsigned int, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. Note that for platforms where unsigned long is not equivalent to uint32_t, this operation may be lossy. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
unsigned long const& value,
int version = 0);
Write the specified unsigned short value to the specified output stream, and return a reference to stream. The optionally specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<class STREAM>
STREAM&
bdexStreamOut(
STREAM& stream,
unsigned short const& value,
int version = 0);
Write the specified value, using the specified version format, to the specified output stream, and return a reference to stream. If stream is initially invalid, this operation has no effect. If version is not supported by TYPE, stream is invalidated, but otherwise unmodified. Note that version is not written to stream. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class TYPE>
STREAM&
bdexStreamOut(
STREAM& stream,
TYPE const& value,
int version);
Write the specified bsl::vector<bsls::Types::Int64, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<bsls::Types::Int64, ALLOC> const& value,
int version);
Write the specified bsl::vector<bsls::Types::Uint64, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<bsls::Types::Uint64, ALLOC> const& value,
int version);
Write the specified bsl::vector<char, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<char, ALLOC> const& value,
int version);
Write the specified bsl::vector<double, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<double, ALLOC> const& value,
int version);
Write the specified bsl::vector<float, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<float, ALLOC> const& value,
int version);
Write the specified bsl::vector<int, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<int, ALLOC> const& value,
int version);
Write the specified bsl::vector<short, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<short, ALLOC> const& value,
int version);
Write the specified bsl::vector<signed char, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<signed char, ALLOC> const& value,
int version);
Write the specified bsl::vector<unsigned char, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<unsigned char, ALLOC> const& value,
int version);
Write the specified bsl::vector<unsigned int, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<unsigned int, ALLOC> const& value,
int version);
Write the specified bsl::vector<unsigned short, ALLOC> value to the specified output stream, and return a reference to stream. The specified version is ignored. If stream is initially invalid, this operation has no effect. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<unsigned short, ALLOC> const& value,
int version);
Write the specified bsl::vector<TYPE, ALLOC> value, using the specified version format, to the specified output stream, and return a reference to stream. If stream is initially invalid, this operation has no effect. If version is not supported by TYPE and the vector is not empty, stream is invalidated, but otherwise unmodified. Note that the specified TYPE might not require a version to be serialized and that version is not written to stream. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.
template<
class STREAM,
class TYPE,
class ALLOC>
STREAM&
bdexStreamOut(
STREAM& stream,
bsl::vector<TYPE, ALLOC> const& value,
int version);
Created with MrDocs