[#BloombergLP-balber-BerUtil_PutValueImpUtil-putValue-0b5] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_PutValueImpUtil.adoc[BerUtil_PutValueImpUtil]::putValue :relfileprefix: ../../../ :mrdocs: `putValue` overloads == Synopses Declared in `<balber_berutil.h>` Encode a `bdldfp::Decimal64` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0c.adoc[putValue]( std::streambuf* streamBuf, xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64] value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0c.adoc[_» more..._]# Encode a `bool` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-09.adoc[putValue]( std::streambuf* streamBuf, bool value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-09.adoc[_» more..._]# Encode a `char` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-02.adoc[putValue]( std::streambuf* streamBuf, char value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-02.adoc[_» more..._]# Encode a `double` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-04.adoc[putValue]( std::streambuf* streamBuf, double value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-04.adoc[_» more..._]# Encode a `float` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-00.adoc[putValue]( std::streambuf* streamBuf, float value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-00.adoc[_» more..._]# Encode a `signed char` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-05a.adoc[putValue]( std::streambuf* streamBuf, signed char value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-05a.adoc[_» more..._]# Encode an `unsigned char` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-01.adoc[putValue]( std::streambuf* streamBuf, unsigned char value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-01.adoc[_» more..._]# Encode a `bdlt::Date` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0b4.adoc[putValue]( std::streambuf* streamBuf, xref:BloombergLP/bdlt/Date.adoc[bdlt::Date] const& value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0b4.adoc[_» more..._]# Encode a `bdlt::DateTz` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0d.adoc[putValue]( std::streambuf* streamBuf, xref:BloombergLP/bdlt/DateTz.adoc[bdlt::DateTz] const& value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0d.adoc[_» more..._]# Encode a `bdlt::Datetime` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0a.adoc[putValue]( std::streambuf* streamBuf, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0a.adoc[_» more..._]# Encode a `bdlt::DatetimeTz` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0f.adoc[putValue]( std::streambuf* streamBuf, xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz] const& value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0f.adoc[_» more..._]# Encode a `bslstl::StringRef` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-078.adoc[putValue]( std::streambuf* streamBuf, xref:BloombergLP/bslstl/StringRef.adoc[bslstl::StringRef] const& value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-078.adoc[_» more..._]# Encode a `bdlt::Time` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-052.adoc[putValue]( std::streambuf* streamBuf, xref:BloombergLP/bdlt/Time.adoc[bdlt::Time] const& value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-052.adoc[_» more..._]# Encode a `bdlt::TimeTz` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-08.adoc[putValue]( std::streambuf* streamBuf, xref:BloombergLP/bdlt/TimeTz.adoc[bdlt::TimeTz] const& value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-08.adoc[_» more..._]# Encode a `bsl::string` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0ec.adoc[putValue]( std::streambuf* streamBuf, xref:bsl/string.adoc[bsl::string] const& value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0ec.adoc[_» more..._]# Encode a `bsl::string_view` value; see the primary `putValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-073.adoc[putValue]( std::streambuf* streamBuf, std::string_view const& value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-073.adoc[_» 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename TYPE> static int xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0e5.adoc[putValue]( std::streambuf* streamBuf, TYPE const& value, xref:BloombergLP/balber/BerEncoderOptions.adoc[BerEncoderOptions] const* options); ---- [.small]#xref:BloombergLP/balber/BerUtil_PutValueImpUtil/putValue-0e5.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#