BDE 4.14.0 Production release
Loading...
Searching...
No Matches
balber::BerUtil_GetValueImpUtil Struct Reference

#include <balber_berutil.h>

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::DateTzDateOrDateTz
 
typedef bdlb::Variant2< bdlt::Datetime, bdlt::DatetimeTzDatetimeOrDatetimeTz
 
typedef bdlb::Variant2< bdlt::Time, bdlt::TimeTzTimeOrTimeTz
 

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.

Member Typedef Documentation

◆ BooleanUtil

BooleanUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for boolean values.

◆ CharacterUtil

CharacterUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for byte values.

◆ DateOrDateTz

◆ DatetimeOrDatetimeTz

◆ DatetimeUtil

DatetimeUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for date and time values.

◆ DateUtil

DateUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for date values.

◆ FloatingPointUtil

FloatingPointUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for floating-point number values.

◆ IntegerUtil

IntegerUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for integer values.

◆ StringUtil

StringUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for string values.

◆ TimeOrTimeTz

◆ TimeUtil

TimeUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for time values.

Member Function Documentation

◆ getValue() [1/18]

int balber::BerUtil_GetValueImpUtil::getValue ( bdldfp::Decimal64 value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [2/18]

int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::Date value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [3/18]

int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::Datetime value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [4/18]

int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::DatetimeTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [5/18]

int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::DateTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [6/18]

int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::Time value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [7/18]

int balber::BerUtil_GetValueImpUtil::getValue ( bdlt::TimeTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [8/18]

int balber::BerUtil_GetValueImpUtil::getValue ( bool *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [9/18]

int balber::BerUtil_GetValueImpUtil::getValue ( bsl::string value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [10/18]

int balber::BerUtil_GetValueImpUtil::getValue ( char *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [11/18]

int balber::BerUtil_GetValueImpUtil::getValue ( DateOrDateTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [12/18]

static int balber::BerUtil_GetValueImpUtil::getValue ( DatetimeOrDatetimeTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
static

◆ getValue() [13/18]

int balber::BerUtil_GetValueImpUtil::getValue ( double *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [14/18]

int balber::BerUtil_GetValueImpUtil::getValue ( float *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [15/18]

int balber::BerUtil_GetValueImpUtil::getValue ( signed char *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

◆ getValue() [16/18]

static int balber::BerUtil_GetValueImpUtil::getValue ( TimeOrTimeTz value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
static

◆ getValue() [17/18]

template<typename TYPE >
int balber::BerUtil_GetValueImpUtil::getValue ( TYPE *  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.

◆ getValue() [18/18]

int balber::BerUtil_GetValueImpUtil::getValue ( unsigned char *  value,
bsl::streambuf *  streamBuf,
int  length,
const BerDecoderOptions options = BerDecoderOptions() 
)
inlinestatic

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