[#BloombergLP-balxml-EncoderOptions-manipulateAttribute-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/EncoderOptions.adoc[EncoderOptions]::manipulateAttribute :relfileprefix: ../../../ :mrdocs: `manipulateAttribute` overloads == Synopses Declared in `<balxml_encoderoptions.h>` Invoke `manipulator` on the modifiable attribute indicated by `id`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename t_MANIPULATOR> int xref:BloombergLP/balxml/EncoderOptions/manipulateAttribute-031.adoc[manipulateAttribute]( t_MANIPULATOR& manipulator, int id); ---- [.small]#xref:BloombergLP/balxml/EncoderOptions/manipulateAttribute-031.adoc[_» more..._]# Invoke `manipulator` on the modifiable attribute indicated by name. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename t_MANIPULATOR> int xref:BloombergLP/balxml/EncoderOptions/manipulateAttribute-03b.adoc[manipulateAttribute]( t_MANIPULATOR& manipulator, char const* name, int nameLength); ---- [.small]#xref:BloombergLP/balxml/EncoderOptions/manipulateAttribute-03b.adoc[_» more..._]# == Return Value * value returned by `manipulator`, or ‐1 if `id` is not found * value returned by `manipulator`, or ‐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]#