BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM > Struct Template Reference

#include <bslx_instreamfunctions.h>

Static Public Member Functions

static STREAM & getArray (STREAM &stream, bool *result, int length)
 
static STREAM & getArray (STREAM &stream, char *result, int length)
 
static STREAM & getArray (STREAM &stream, signed char *result, int length)
 
static STREAM & getArray (STREAM &stream, unsigned char *result, int length)
 
static STREAM & getArray (STREAM &stream, short *result, int length)
 
static STREAM & getArray (STREAM &stream, unsigned short *result, int length)
 
static STREAM & getArray (STREAM &stream, int *result, int length)
 
static STREAM & getArray (STREAM &stream, unsigned int *result, int length)
 
static STREAM & getArray (STREAM &stream, bsls::Types::Int64 *result, int length)
 
static STREAM & getArray (STREAM &stream, bsls::Types::Uint64 *result, int length)
 
static STREAM & getArray (STREAM &stream, float *result, int length)
 
static STREAM & getArray (STREAM &stream, double *result, int length)
 
template<class VALUE_TYPE , class ALLOC >
static STREAM & getArray (STREAM &stream, bsl::vector< VALUE_TYPE, ALLOC > &variable)
 

Detailed Description

template<class STREAM>
struct bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >

This struct provides a namespace for implementation helper functions for this component. They are not intended for use outside this component.

Member Function Documentation

◆ getArray() [1/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
bool *  result,
int  length 
)
inlinestatic

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.

◆ getArray() [2/13]

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

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.

◆ getArray() [3/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
bsls::Types::Int64 result,
int  length 
)
inlinestatic

◆ getArray() [4/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
bsls::Types::Uint64 result,
int  length 
)
inlinestatic

◆ getArray() [5/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
char *  result,
int  length 
)
inlinestatic

◆ getArray() [6/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
double *  result,
int  length 
)
inlinestatic

◆ getArray() [7/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
float *  result,
int  length 
)
inlinestatic

◆ getArray() [8/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
int *  result,
int  length 
)
inlinestatic

◆ getArray() [9/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
short *  result,
int  length 
)
inlinestatic

◆ getArray() [10/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
signed char *  result,
int  length 
)
inlinestatic

◆ getArray() [11/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
unsigned char *  result,
int  length 
)
inlinestatic

◆ getArray() [12/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
unsigned int *  result,
int  length 
)
inlinestatic

◆ getArray() [13/13]

template<class STREAM >
STREAM & bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
unsigned short *  result,
int  length 
)
inlinestatic

The documentation for this struct was generated from the following file: