[#BloombergLP-bslx-InStreamFunctions-InStreamFunctions_AccessorHelper-getArray-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/InStreamFunctions.adoc[InStreamFunctions]::xref:BloombergLP/bslx/InStreamFunctions/InStreamFunctions_AccessorHelper.adoc[InStreamFunctions_AccessorHelper]::getArray :relfileprefix: ../../../../ :mrdocs: Assign a `bsl::vector` value read from `stream` to `variable`. == Synopsis Declared in `<bslx_instreamfunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class ALLOC> static STREAM& getArray( STREAM& stream, xref:bsl/vector-00d.adoc[bsl::vector<VALUE_TYPE, ALLOC>]& variable); ---- == Description Assign to the specified `variable` the `bsl::vector<VALUE_TYPE, ALLOC>` value read from the specified input `stream`, and return a reference to `stream`. If `stream` is initially invalid, this operation has no effect. If `stream` becomes invalid during this operation, `variable` has an undefined, but valid, state. == Return Value a reference to `stream` == Parameters [cols="1,4"] |=== | Name| Description | *stream* | input stream from which to read | *variable* | vector to receive the unexternalized values |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#