[#BloombergLP-balxml-Encoder_SequenceFirstPass_addAttributeImpProxy-operator_call-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder_SequenceFirstPass_addAttributeImpProxy.adoc[Encoder&lowbar;SequenceFirstPass&lowbar;addAttributeImpProxy]::operator()
:relfileprefix: ../../../
:mrdocs:

Add the specified `object` as an attribute using the bound state and the specified `category`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPE,
    class ANY&lowbar;CATEGORY&gt;
int
operator()(
    TYPE const& object,
    ANY&lowbar;CATEGORY category);
----

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| attribute value to add
| *category*
| type&hyphen;category tag used for overload selection
|===


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