Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM > Struct Template Reference

#include <bslx_instreamfunctions.h>

List of all members.

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.

See Component bslx_instreamfunctions


Member Function Documentation

template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
bool *  result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
char *  result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
signed char *  result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
unsigned char *  result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
short *  result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
unsigned short *  result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
int *  result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
unsigned int *  result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
bsls::Types::Int64 result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
bsls::Types::Uint64 result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
float *  result,
int  length 
) [static]
template<class STREAM >
static STREAM& bslx::InStreamFunctions::InStreamFunctions_AccessorHelper< STREAM >::getArray ( STREAM &  stream,
double *  result,
int  length 
) [static]

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.

template<class STREAM >
template<class VALUE_TYPE , class ALLOC >
static 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.


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