[#BloombergLP-bslx-InStreamFunctions-bdexStreamIn-0fc] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/InStreamFunctions.adoc[InStreamFunctions]::bdexStreamIn :relfileprefix: ../../../ :mrdocs: `bdexStreamIn` overloads == Synopses Declared in `<bslx_instreamfunctions.h>` BDEX‐stream `variable` from `stream` (version computed if needed). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class VALUE_TYPE> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c6.adoc[bdexStreamIn]( STREAM& stream, VALUE_TYPE& variable); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c6.adoc[_» more..._]# Assign a `bsl::vector` from `stream` (version read from stream). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class VALUE_TYPE, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-090.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<VALUE_TYPE, ALLOC>]& variable); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-090.adoc[_» more..._]# Assign a `bsls::Types::Int64` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0d1.adoc[bdexStreamIn]( STREAM& stream, xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64]& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0d1.adoc[_» more..._]# Assign a `bsls::Types::Uint64` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0a4.adoc[bdexStreamIn]( STREAM& stream, xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0a4.adoc[_» more..._]# Assign a `bool` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-02.adoc[bdexStreamIn]( STREAM& stream, bool& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-02.adoc[_» more..._]# Assign a `char` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f7e.adoc[bdexStreamIn]( STREAM& stream, char& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f7e.adoc[_» more..._]# Assign a `double` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-047.adoc[bdexStreamIn]( STREAM& stream, double& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-047.adoc[_» more..._]# Assign a `float` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f77.adoc[bdexStreamIn]( STREAM& stream, float& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f77.adoc[_» more..._]# Assign an `int` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0d6.adoc[bdexStreamIn]( STREAM& stream, int& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0d6.adoc[_» more..._]# Assign a 32‐bit `int` (`long`) value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0fd.adoc[bdexStreamIn]( STREAM& stream, long& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0fd.adoc[_» more..._]# Assign a `short` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f5.adoc[bdexStreamIn]( STREAM& stream, short& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f5.adoc[_» more..._]# Assign a `signed char` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-049.adoc[bdexStreamIn]( STREAM& stream, signed char& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-049.adoc[_» more..._]# Assign a `bsl::string` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c3.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/string.adoc[bsl::string]& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c3.adoc[_» more..._]# Assign an `unsigned char` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-05.adoc[bdexStreamIn]( STREAM& stream, unsigned char& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-05.adoc[_» more..._]# Assign an `unsigned int` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c2.adoc[bdexStreamIn]( STREAM& stream, unsigned int& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c2.adoc[_» more..._]# Assign a 32‐bit `unsigned int` (`unsigned long`) from `stream`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-099.adoc[bdexStreamIn]( STREAM& stream, unsigned long& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-099.adoc[_» more..._]# Assign an `unsigned short` value read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STREAM> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0b.adoc[bdexStreamIn]( STREAM& stream, unsigned short& variable, int version = 0); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0b.adoc[_» more..._]# BDEX‐stream `variable` from `stream` using the given `version`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class VALUE_TYPE> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-08.adoc[bdexStreamIn]( STREAM& stream, VALUE_TYPE& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-08.adoc[_» more..._]# Assign a `bsl::vector<Int64>` read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f7d.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<bsls::Types::Int64, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f7d.adoc[_» more..._]# Assign a `bsl::vector<Uint64>` read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0ae.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<bsls::Types::Uint64, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0ae.adoc[_» more..._]# Assign a `bsl::vector<char>` read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c9.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<char, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0c9.adoc[_» more..._]# Assign a `bsl::vector<double>` read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-092.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<double, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-092.adoc[_» more..._]# Assign a `bsl::vector<float>` read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-00.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<float, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-00.adoc[_» more..._]# Assign a `bsl::vector<int>` read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-04c.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<int, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-04c.adoc[_» more..._]# Assign a `bsl::vector<short>` read from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0a9.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<short, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0a9.adoc[_» more..._]# Assign a `bsl::vector<signed char>` from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-041.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<signed char, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-041.adoc[_» more..._]# Assign a `bsl::vector<unsigned char>` from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f8.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<unsigned char, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0f8.adoc[_» more..._]# Assign a `bsl::vector<unsigned int>` from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-06.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<unsigned int, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-06.adoc[_» more..._]# Assign a `bsl::vector<unsigned short>` from `stream` to `variable`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-04f.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<unsigned short, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-04f.adoc[_» more..._]# Assign a `bsl::vector` from `stream` using the given `version`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class STREAM, class VALUE_TYPE, class ALLOC> STREAM& xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0fb.adoc[bdexStreamIn]( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<VALUE_TYPE, ALLOC>]& variable, int version); ---- [.small]#xref:BloombergLP/bslx/InStreamFunctions/bdexStreamIn-0fb.adoc[_» more..._]# == Return Value a reference to `stream` == Parameters [cols="1,4"] |=== | Name| Description | *stream* | input stream from which to read | *variable* | object to receive the unexternalized value | *version* | optional BDEX version (ignored for this type) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#