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());

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

Component‐private BER utility operation.

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

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());

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

value

destination for the decoded value

streamBuf

input stream buffer

length

number of content octets

options

decoder options controlling decoding behavior

Created with MrDocs