[#BloombergLP-balber-BerUtil_GetValueImpUtil-getValue-095] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_GetValueImpUtil.adoc[BerUtil_GetValueImpUtil]::getValue :relfileprefix: ../../../ :mrdocs: `getValue` overloads == Synopses Declared in `<balber_berutil.h>` Decode a `bdlt::Date` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-00.adoc[getValue]( xref:BloombergLP/bdlt/Date.adoc[bdlt::Date]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-00.adoc[_» more..._]# Decode a `DateOrDateTz` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-033.adoc[getValue]( xref:BloombergLP/balber/BerUtil_GetValueImpUtil/DateOrDateTz.adoc[DateOrDateTz]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-033.adoc[_» more..._]# Decode a `bdlt::DateTz` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-05b.adoc[getValue]( xref:BloombergLP/bdlt/DateTz.adoc[bdlt::DateTz]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-05b.adoc[_» more..._]# Decode a `bdlt::Datetime` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-09f.adoc[getValue]( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-09f.adoc[_» more..._]# Decode a `DatetimeOrDatetimeTz` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-041.adoc[getValue]( xref:BloombergLP/balber/BerUtil_GetValueImpUtil/DatetimeOrDatetimeTz.adoc[DatetimeOrDatetimeTz]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-041.adoc[_» more..._]# Decode a `bdlt::DatetimeTz` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-0e0.adoc[getValue]( xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-0e0.adoc[_» more..._]# Decode a `bdldfp::Decimal64` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-0f.adoc[getValue]( xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-0f.adoc[_» more..._]# Decode a `bdlt::Time` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-04a.adoc[getValue]( xref:BloombergLP/bdlt/Time.adoc[bdlt::Time]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-04a.adoc[_» more..._]# Decode a `TimeOrTimeTz` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-0c.adoc[getValue]( xref:BloombergLP/balber/BerUtil_GetValueImpUtil/TimeOrTimeTz.adoc[TimeOrTimeTz]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-0c.adoc[_» more..._]# Decode a `bdlt::TimeTz` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-09a.adoc[getValue]( xref:BloombergLP/bdlt/TimeTz.adoc[bdlt::TimeTz]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-09a.adoc[_» more..._]# Decode a `bool` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-07.adoc[getValue]( bool* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-07.adoc[_» more..._]# Decode a `char` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-05f.adoc[getValue]( char* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-05f.adoc[_» more..._]# Decode a `double` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-03e.adoc[getValue]( double* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-03e.adoc[_» more..._]# Decode a `float` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-03f.adoc[getValue]( float* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-03f.adoc[_» more..._]# Decode a `signed char` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-06.adoc[getValue]( signed char* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-06.adoc[_» more..._]# Decode a `bsl::string` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-0ee.adoc[getValue]( xref:bsl/string.adoc[bsl::string]* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-0ee.adoc[_» more..._]# Decode an `unsigned char` value; see the primary `getValue` overload. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-0a.adoc[getValue]( unsigned char* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-0a.adoc[_» more..._]# Decode the specified `value` from the specified `streamBuf`, consuming exactly the specified `length` bytes. Return 0 on success, and a non‐zero value otherwise. Optionally specify decoding `options` to control aspects of the decoding. Note that the value consists of the contents of the bytes only (no length prefix). Also note that only fundamental C++ types, `bsl::string`, and BDE date/time types are supported. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename TYPE> static int xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-02.adoc[getValue]( TYPE* value, std::streambuf* streamBuf, int length, xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions] const& options = BerDecoderOptions()); ---- [.small]#xref:BloombergLP/balber/BerUtil_GetValueImpUtil/getValue-02.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#