[#BloombergLP-balxml-DecoderOptions-manipulateAttribute-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/DecoderOptions.adoc[DecoderOptions]::manipulateAttribute
:relfileprefix: ../../../
:mrdocs:

`manipulateAttribute` overloads

== Synopses

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

Invoke `manipulator` on the modifiable attribute indicated by `id`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename t&lowbar;MANIPULATOR&gt;
int
xref:BloombergLP/balxml/DecoderOptions/manipulateAttribute-0f.adoc[manipulateAttribute](
    t&lowbar;MANIPULATOR& manipulator,
    int id);
----

[.small]#xref:BloombergLP/balxml/DecoderOptions/manipulateAttribute-0f.adoc[_» more&period;&period;&period;_]#

Invoke `manipulator` on the modifiable attribute indicated by name&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename t&lowbar;MANIPULATOR&gt;
int
xref:BloombergLP/balxml/DecoderOptions/manipulateAttribute-07.adoc[manipulateAttribute](
    t&lowbar;MANIPULATOR& manipulator,
    char const* name,
    int nameLength);
----

[.small]#xref:BloombergLP/balxml/DecoderOptions/manipulateAttribute-07.adoc[_» more&period;&period;&period;_]#

== Return Value

* value returned by `manipulator`, or &hyphen;1 if `id` is not found
* value from `manipulator`, or &hyphen;1 if `name` is not found

== Parameters

[cols="1,4"]
|===
| Name| Description
| *manipulator*
| functor invoked on the matching attribute
| *id*
| attribute id
| *name*
| attribute name
| *nameLength*
| length of `name`
|===


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