BloombergLP::balber::BerUtil_PutValueImpUtil::putValue

putValue overloads

Synopses

Declared in <balber_berutil.h>

Encode a bdldfp::Decimal64 value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    bdldfp::Decimal64 value,
    BerEncoderOptions const* options);
» more...

Encode a bool value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    bool value,
    BerEncoderOptions const* options);
» more...

Encode a char value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    char value,
    BerEncoderOptions const* options);
» more...

Encode a double value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    double value,
    BerEncoderOptions const* options);
» more...

Encode a float value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    float value,
    BerEncoderOptions const* options);
» more...

Encode a signed char value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    signed char value,
    BerEncoderOptions const* options);
» more...

Encode an unsigned char value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    unsigned char value,
    BerEncoderOptions const* options);
» more...

Encode a bdlt::Date value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    bdlt::Date const& value,
    BerEncoderOptions const* options);
» more...

Encode a bdlt::DateTz value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    bdlt::DateTz const& value,
    BerEncoderOptions const* options);
» more...

Encode a bdlt::Datetime value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    bdlt::Datetime const& value,
    BerEncoderOptions const* options);
» more...

Encode a bdlt::DatetimeTz value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    bdlt::DatetimeTz const& value,
    BerEncoderOptions const* options);
» more...

Encode a bslstl::StringRef value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    bslstl::StringRef const& value,
    BerEncoderOptions const* options);
» more...

Encode a bdlt::Time value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    bdlt::Time const& value,
    BerEncoderOptions const* options);
» more...

Encode a bdlt::TimeTz value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    bdlt::TimeTz const& value,
    BerEncoderOptions const* options);
» more...

Encode a bsl::string value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    bsl::string const& value,
    BerEncoderOptions const* options);
» more...

Encode a bsl::string_view value; see the primary putValue overload.

static
int
putValue(
    std::streambuf* streamBuf,
    std::string_view const& value,
    BerEncoderOptions const* options);
» more...

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, bsl::string_view, bslstl::StringRef and BDE date/time types are supported.

template<typename TYPE>
static
int
putValue(
    std::streambuf* streamBuf,
    TYPE const& value,
    BerEncoderOptions const* options);
» more...