Quick Links:

bal | bbl | bdl | bsl

Public Types | Static Public Member Functions

balber::BerUtil_GetValueImpUtil Struct Reference

#include <balber_berutil.h>

List of all members.

Public Types

typedef BerUtil_BooleanImpUtil BooleanUtil
typedef BerUtil_CharacterImpUtil CharacterUtil
typedef BerUtil_DateImpUtil DateUtil
typedef BerUtil_DatetimeImpUtil DatetimeUtil
typedef
BerUtil_FloatingPointImpUtil 
FloatingPointUtil
typedef BerUtil_IntegerImpUtil IntegerUtil
typedef BerUtil_StringImpUtil StringUtil
typedef BerUtil_TimeImpUtil TimeUtil
typedef bdlb::Variant2
< bdlt::Date, bdlt::DateTz
DateOrDateTz
typedef bdlb::Variant2
< bdlt::Datetime,
bdlt::DatetimeTz
DatetimeOrDatetimeTz
typedef bdlb::Variant2
< bdlt::Time, bdlt::TimeTz
TimeOrTimeTz

Static Public Member Functions

template<typename TYPE >
static int getValue (TYPE *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (bool *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (char *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (unsigned char *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (signed char *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (float *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (double *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (bdldfp::Decimal64 *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (bsl::string *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (bdlt::Date *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (bdlt::DateTz *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (DateOrDateTz *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (bdlt::Datetime *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (bdlt::DatetimeTz *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (DatetimeOrDatetimeTz *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (bdlt::Time *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (bdlt::TimeTz *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())
static int getValue (TimeOrTimeTz *value, bsl::streambuf *streamBuf, int length, const BerDecoderOptions &options=BerDecoderOptions())

Detailed Description

This component-private utility struct provides a namespace for a suite of functions that define the overload set for the implementation of balber::BerUtil::getValue. The set of types used for the value parameters in the overload set of getValue in this struct define the set of types that balber::BerUtil::getValue supports.

See Component balber_berutil


Member Typedef Documentation


Member Function Documentation

template<typename TYPE >
static int balber::BerUtil_GetValueImpUtil::getValue ( TYPE *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( bool *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( char *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( unsigned char *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( signed char *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( float *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( double *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( bdldfp::Decimal64 value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( bsl::string value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::Date value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::DateTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( DateOrDateTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::Datetime value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::DatetimeTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( DatetimeOrDatetimeTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::Time value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::TimeTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]
static int balber::BerUtil_GetValueImpUtil::getValue ( TimeOrTimeTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
) [static]

Decode the specified value from the specified streamBuf, consuming exactly the specified length bytes. Return 0 on success, and a non-zero value otherwise. Optionally specify decoding options to control aspects of the decoding. Note that the value consists of the contents of the bytes only (no length prefix). Also note that only fundamental C++ types, bsl::string, and BDE date/time types are supported.


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