[#BloombergLP-balxml-Encoder_SequenceFirstPass-addAttributeImp-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder_SequenceFirstPass.adoc[Encoder_SequenceFirstPass]::addAttributeImp :relfileprefix: ../../../ :mrdocs: `addAttributeImp` overloads == Synopses Declared in `<balxml_encoder.h>` Add an attribute with the specified `name`, `object` value, and `formattingMode` for a dynamic‐type category. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-02f.adoc[addAttributeImp]( TYPE const& object, std::string_view const& name, int formattingMode, xref:BloombergLP/bdlat_TypeCategory/DynamicType.adoc[bdlat_TypeCategory::DynamicType]); ---- [.small]#xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-02f.adoc[_» more..._]# Add an attribute with the specified `name`, the value of the specified `object`, using the specified `formattingMode`. Note that the last argument is used for overloading purposes only. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> int xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-0e.adoc[addAttributeImp]( TYPE const& object, std::string_view const& name, int formattingMode, xref:BloombergLP/bdlat_TypeCategory/NullableValue.adoc[bdlat_TypeCategory::NullableValue]); ---- [.small]#xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-0e.adoc[_» more..._]# Add an attribute with the specified `name`, `object` value, and `formattingMode` for the specified category. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class ANY_CATEGORY> int xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-027.adoc[addAttributeImp]( TYPE const& object, std::string_view const& name, int formattingMode, ANY_CATEGORY); ---- [.small]#xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-027.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#