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 |
Static Public Member Functions | |
template<typename TYPE > | |
static int | putValue (bsl::streambuf *streamBuf, const TYPE &value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, bool value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, char value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, unsigned char value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, signed char value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, float value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, double value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, bdldfp::Decimal64 value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, const bsl::string &value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, const bsl::string_view &value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, const bslstl::StringRef &value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, const bdlt::Date &value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, const bdlt::DateTz &value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, const bdlt::Datetime &value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, const bdlt::DatetimeTz &value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, const bdlt::Time &value, const BerEncoderOptions *options) |
static int | putValue (bsl::streambuf *streamBuf, const bdlt::TimeTz &value, const BerEncoderOptions *options) |
This component-private utility struct
provides a namespace for a suite of functions that define the overload set for the implementation of balber::BerUtil::putValue
. The set of types used for the value
parameters in the overload set of putValue
in this struct
define the set of types that balber::BerUtil::putValue
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.
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.
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 |
|
inlinestatic |
|
static |
Encode the specified value
to the specified streamBuf
. Return 0 on success, and a non-zero value otherwise. Note that the value consists of the length and contents primitives. Also note that only fundamental C++ types, bsl::string
, bsl::string_view
, bslstl::StringRef
and BDE date/time types are supported.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |