|
BDE 4.14.0 Production release
|
#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::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()) |
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.
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 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 is a convenient alias for bdlb::Variant2<bdlt::Date, bdlt::DateTz>.
| typedef bdlb::Variant2<bdlt::Datetime, bdlt::DatetimeTz> balber::BerUtil_GetValueImpUtil::DatetimeOrDatetimeTz |
DatetimeOrDatetimeTz is a convenient alias for bdlb::Variant2<bdlt::Datetime, bdlt::DatetimeTz>.
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 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 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 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 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 is a convenient alias for bdlb::Variant2<bdlt::Time, bdlt::TimeTz>.
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.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
|
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.
|
inlinestatic |