getArray overloads

Synopses

Declared in <bslx_instreamfunctions.h>

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.

template<
    class VALUE_TYPE,
    class ALLOC>
static
STREAM&
getArray(
    STREAM& stream,
    bsl::vector<VALUE_TYPE, ALLOC>& variable);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    bsls::Types::Int64* result,
    int length);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    bsls::Types::Uint64* result,
    int length);

Load into the specified result the specified length values read from the specified stream, and return a reference to stream. If stream is initially invalid, *result is unchanged. If stream becomes invalid during this operation, the contents of result have an undefined, but valid, state.

static
STREAM&
getArray(
    STREAM& stream,
    bool* result,
    int length);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    char* result,
    int length);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    double* result,
    int length);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    float* result,
    int length);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    int* result,
    int length);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    short* result,
    int length);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    signed char* result,
    int length);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    unsigned char* result,
    int length);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    unsigned int* result,
    int length);

Read an array of the specified length from the specified stream into the specified result.

static
STREAM&
getArray(
    STREAM& stream,
    unsigned short* result,
    int length);

Created with MrDocs