BloombergLP::balber::BerUtil_GetValueImpUtil::getValue

getValue overloads

Synopses

Declared in <balber_berutil.h>

Component-private BER utility operation.

static
int
getValue(
    bdlt::Date* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    DateOrDateTz* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    bdlt::DateTz* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    bdlt::Datetime* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    DatetimeOrDatetimeTz* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    bdlt::DatetimeTz* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    bdldfp::Decimal64* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    bdlt::Time* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    TimeOrTimeTz* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    bdlt::TimeTz* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    bool* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    char* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    double* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    float* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    signed char* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    bsl::string* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Component-private BER utility operation.

static
int
getValue(
    unsigned char* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Decode the specified value from the specified streamBuf, consuming exactly the specified length bytes.

template<typename TYPE>
static
int
getValue(
    TYPE* value,
    std::streambuf* streamBuf,
    int length,
    BerDecoderOptions const& options = BerDecoderOptions());
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
valuedestination for the decoded value
streamBufinput stream buffer
lengthnumber of content octets
optionsdecoder options controlling decoding behavior