[#BloombergLP-balxml-Encoder_EncodeValue_executeImpProxy-operator_call-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder_EncodeValue_executeImpProxy.adoc[Encoder&lowbar;EncodeValue&lowbar;executeImpProxy]::operator()
:relfileprefix: ../../../
:mrdocs:

Function call operators

== Synopses

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

Return &hyphen;1&semi; this overload is not valid and should not be called&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
xref:BloombergLP/balxml/Encoder_EncodeValue_executeImpProxy/operator_call-0a.adoc[operator()](
    TYPE const& object,
    xref:BloombergLP/bslmf/Nil.adoc[bslmf::Nil] nil);
----

[.small]#xref:BloombergLP/balxml/Encoder_EncodeValue_executeImpProxy/operator_call-0a.adoc[_» more&period;&period;&period;_]#

Encode the specified `object` using the bound encoder state and 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_EncodeValue_executeImpProxy/operator_call-02.adoc[operator()](
    TYPE const& object,
    ANY&lowbar;CATEGORY category);
----

[.small]#xref:BloombergLP/balxml/Encoder_EncodeValue_executeImpProxy/operator_call-02.adoc[_» more&period;&period;&period;_]#

== Return Value

* &hyphen;1 always&semi; this overload is not valid
* 0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| unused object argument
| *nil*
| invalid category tag
| *category*
| type&hyphen;category tag used for overload selection
|===


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