[#BloombergLP-balxml-Encoder_EncodeObject-executeImp-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder_EncodeObject.adoc[Encoder_EncodeObject]::executeImp :relfileprefix: ../../../ :mrdocs: Encode the specified `object` with the specified `tag`, `formattingMode`, and `isMultiple` flag for the specified category. == Synopsis Declared in `<balxml_encoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class ANY_CATEGORY> int executeImp( TYPE const& object, std::string_view const& tag, int formattingMode, bool isMultiple, ANY_CATEGORY category); ---- == Return Value 0 on success, or a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *object* | value to encode | *tag* | XML element tag | *formattingMode* | formatting mode for the value | *isMultiple* | whether the value is a repeated occurrence | *category* | type‐category tag used for overload selection |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#