#include <balber_berutil.h>
List of all members.
Detailed Description
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.
See Component balber_berutil
Member Typedef Documentation
Member Function Documentation
static bool balber::BerUtil_ExtendedBinaryEncodingUtil::useExtendedBinaryEncoding |
( |
const bdlt::Time & |
value, |
|
|
const BerEncoderOptions * |
options | |
|
) |
| | [static] |
static bool balber::BerUtil_ExtendedBinaryEncodingUtil::useExtendedBinaryEncoding |
( |
const bdlt::TimeTz & |
value, |
|
|
const BerEncoderOptions * |
options | |
|
) |
| | [static] |
static bool balber::BerUtil_ExtendedBinaryEncodingUtil::useExtendedBinaryEncoding |
( |
const bdlt::Datetime & |
value, |
|
|
const BerEncoderOptions * |
options | |
|
) |
| | [static] |
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.
static bool balber::BerUtil_ExtendedBinaryEncodingUtil::useBinaryEncoding |
( |
const BerEncoderOptions * |
options |
) |
[static] |
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
.
The documentation for this struct was generated from the following file: