BDE 4.14.0 Production release
Loading...
Searching...
No Matches
balber::BerUtil_PutValueImpUtil Struct Reference

#include <balber_berutil.h>

Public Types

typedef BerUtil_BooleanImpUtil BooleanUtil
 
typedef BerUtil_CharacterImpUtil CharacterUtil
 
typedef BerUtil_DateImpUtil DateUtil
 
typedef BerUtil_DatetimeImpUtil DatetimeUtil
 
typedef BerUtil_FloatingPointImpUtil FloatingPointUtil
 
typedef BerUtil_IntegerImpUtil IntegerUtil
 
typedef BerUtil_StringImpUtil StringUtil
 
typedef BerUtil_TimeImpUtil TimeUtil
 

Static Public Member Functions

template<typename TYPE >
static int putValue (bsl::streambuf *streamBuf, const TYPE &value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, bool value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, char value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, unsigned char value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, signed char value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, float value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, double value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, bdldfp::Decimal64 value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, const bsl::string &value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, const bsl::string_view &value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, const bslstl::StringRef &value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, const bdlt::Date &value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, const bdlt::DateTz &value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, const bdlt::Datetime &value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, const bdlt::DatetimeTz &value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, const bdlt::Time &value, const BerEncoderOptions *options)
 
static int putValue (bsl::streambuf *streamBuf, const bdlt::TimeTz &value, const BerEncoderOptions *options)
 

Detailed Description

This component-private utility struct provides a namespace for a suite of functions that define the overload set for the implementation of balber::BerUtil::putValue. The set of types used for the value parameters in the overload set of putValue in this struct define the set of types that balber::BerUtil::putValue supports.

Member Typedef Documentation

◆ BooleanUtil

BooleanUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for boolean values.

◆ CharacterUtil

CharacterUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for byte values.

◆ DatetimeUtil

DatetimeUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for date and time values.

◆ DateUtil

DateUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for date values.

◆ FloatingPointUtil

FloatingPointUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for floating-point number values.

◆ IntegerUtil

IntegerUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for integer values.

◆ StringUtil

StringUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for string values.

◆ TimeUtil

TimeUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for time values.

Member Function Documentation

◆ putValue() [1/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
bdldfp::Decimal64  value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [2/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
bool  value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [3/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
char  value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [4/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
const bdlt::Date value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [5/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
const bdlt::Datetime value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [6/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
const bdlt::DatetimeTz value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [7/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
const bdlt::DateTz value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [8/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
const bdlt::Time value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [9/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
const bdlt::TimeTz value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [10/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
const bsl::string value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [11/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
const bsl::string_view value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [12/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
const bslstl::StringRef value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [13/17]

template<class TYPE >
int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
const TYPE &  value,
const BerEncoderOptions options 
)
static

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.

◆ putValue() [14/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
double  value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [15/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
float  value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [16/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
signed char  value,
const BerEncoderOptions options 
)
inlinestatic

◆ putValue() [17/17]

int balber::BerUtil_PutValueImpUtil::putValue ( bsl::streambuf *  streamBuf,
unsigned char  value,
const BerEncoderOptions options 
)
inlinestatic

The documentation for this struct was generated from the following file: