|
BDE 4.14.0 Production release
|
#include <balber_berutil.h>
Public Types | |
| typedef BerUtil_DateAndTimeEncoding | Encoding |
Static Public Member Functions | |
| static bool | useExtendedBinaryEncoding (const bdlt::Time &value, const BerEncoderOptions *options) |
| static bool | useExtendedBinaryEncoding (const bdlt::TimeTz &value, const BerEncoderOptions *options) |
| static bool | useExtendedBinaryEncoding (const bdlt::Datetime &value, const BerEncoderOptions *options) |
| static bool | useExtendedBinaryEncoding (const bdlt::DatetimeTz &value, const BerEncoderOptions *options) |
| static bool | useBinaryEncoding (const BerEncoderOptions *options) |
This component-private utility struct provides a namespace for a suite of functions used by BerUtil to determine if a particular date and/or time value should be encoded using its corresponding extended-binary-encoding format, its corresponding compact-binary-encoding format, or neither format.
Encoding is an alias to a namespace for enumerating the union of the sets of date and time formats used to encode and decode all date and time types supported by BerUtil.
|
inlinestatic |
Return true if a date and/or time value must be encoded using either its corresponding extended-binary-encoding format or its corresponding compact-binary-encoding format according to the specified options, and return false otherwise. Note that, for any given value and options, the value must be encoded using its corresponding compact-binary-encoding format if useExtendedBinaryEncoding(value, options) returns false and useBinaryEncoding(options) returns true.
|
inlinestatic |
|
inlinestatic |
Return true if the specified value must be encoded using its corresponding extended-binary-encoding format according to the specified options, and return false otherwise.
|
inlinestatic |
|
inlinestatic |