[#BloombergLP-balxml-Encoder_SequenceFirstPass-addAttributeImp-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder_SequenceFirstPass.adoc[Encoder&lowbar;SequenceFirstPass]::addAttributeImp
:relfileprefix: ../../../
:mrdocs:

`addAttributeImp` overloads

== Synopses

Declared in `&lt;balxml&lowbar;encoder&period;h&gt;`

Add an attribute with the specified `name`, `object` value, and `formattingMode` for a dynamic&hyphen;type category&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-02f.adoc[addAttributeImp](
    TYPE const& object,
    std::string&lowbar;view const& name,
    int formattingMode,
    xref:BloombergLP/bdlat_TypeCategory/DynamicType.adoc[bdlat&lowbar;TypeCategory::DynamicType]);
----

[.small]#xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-02f.adoc[_» more&period;&period;&period;_]#

Add an attribute with the specified `name`, the value of the specified `object`, using the specified `formattingMode`&period; Note that the last argument is used for overloading purposes only&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-0e.adoc[addAttributeImp](
    TYPE const& object,
    std::string&lowbar;view const& name,
    int formattingMode,
    xref:BloombergLP/bdlat_TypeCategory/NullableValue.adoc[bdlat&lowbar;TypeCategory::NullableValue]);
----

[.small]#xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-0e.adoc[_» more&period;&period;&period;_]#

Add an attribute with the specified `name`, `object` value, and `formattingMode` for the specified category&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPE,
    class ANY&lowbar;CATEGORY&gt;
int
xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-027.adoc[addAttributeImp](
    TYPE const& object,
    std::string&lowbar;view const& name,
    int formattingMode,
    ANY&lowbar;CATEGORY);
----

[.small]#xref:BloombergLP/balxml/Encoder_SequenceFirstPass/addAttributeImp-027.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
