Quick Links: |
#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 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.
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
const TYPE & | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
bool | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
char | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
unsigned char | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
signed char | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
float | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
double | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
bdldfp::Decimal64 | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
const bsl::string & | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
const bslstl::StringRef & | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
const bdlt::Date & | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
const bdlt::DateTz & | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
const bdlt::Datetime & | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
const bdlt::DatetimeTz & | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
const bdlt::Time & | value, | |||
const BerEncoderOptions * | options | |||
) | [static] |
static int balber::BerUtil_PutValueImpUtil::putValue | ( | bsl::streambuf * | streamBuf, | |
const bdlt::TimeTz & | value, | |||
const BerEncoderOptions * | options | |||
) | [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
, bslstl::StringRef
and BDE date/time types are supported.