[#BloombergLP-balxml-Encoder_EncodeValue-executeImp-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder_EncodeValue.adoc[Encoder_EncodeValue]::executeImp :relfileprefix: ../../../ :mrdocs: `executeImp` overloads == Synopses Declared in `<balxml_encoder.h>` Encode the specified `object` with the specified `formattingMode` for a choice type. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int xref:BloombergLP/balxml/Encoder_EncodeValue/executeImp-09.adoc[executeImp]( TYPE const& object, int formattingMode, xref:BloombergLP/bdlat_TypeCategory/Choice.adoc[bdlat_TypeCategory::Choice] category); ---- [.small]#xref:BloombergLP/balxml/Encoder_EncodeValue/executeImp-09.adoc[_» more..._]# Encode the specified `object` with the specified `formattingMode` for a dynamic type. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int xref:BloombergLP/balxml/Encoder_EncodeValue/executeImp-07.adoc[executeImp]( TYPE const& object, int formattingMode, xref:BloombergLP/bdlat_TypeCategory/DynamicType.adoc[bdlat_TypeCategory::DynamicType] category); ---- [.small]#xref:BloombergLP/balxml/Encoder_EncodeValue/executeImp-07.adoc[_» more..._]# Encode the specified `object` with the specified `formattingMode` for a sequence type. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int xref:BloombergLP/balxml/Encoder_EncodeValue/executeImp-03.adoc[executeImp]( TYPE const& object, int formattingMode, xref:BloombergLP/bdlat_TypeCategory/Sequence.adoc[bdlat_TypeCategory::Sequence] category); ---- [.small]#xref:BloombergLP/balxml/Encoder_EncodeValue/executeImp-03.adoc[_» more..._]# Encode the specified `object` with the specified `formattingMode` for the specified category. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class ANY_CATEGORY> int xref:BloombergLP/balxml/Encoder_EncodeValue/executeImp-08.adoc[executeImp]( TYPE const& object, int formattingMode, ANY_CATEGORY category); ---- [.small]#xref:BloombergLP/balxml/Encoder_EncodeValue/executeImp-08.adoc[_» more..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *object* | choice value to encode | *formattingMode* | formatting mode for the value | *category* | choice type‐category tag |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#