[#BloombergLP-balber-BerDecoderOptions-manipulateAttribute-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions]::manipulateAttribute :relfileprefix: ../../../ :mrdocs: `manipulateAttribute` overloads == Synopses Declared in `<balber_berdecoderoptions.h>` Invoke the specified `manipulator` on the attribute indicated by `id`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class MANIPULATOR> int xref:BloombergLP/balber/BerDecoderOptions/manipulateAttribute-0a.adoc[manipulateAttribute]( MANIPULATOR& manipulator, int id); ---- [.small]#xref:BloombergLP/balber/BerDecoderOptions/manipulateAttribute-0a.adoc[_» more..._]# Invoke the specified `manipulator` on the attribute indicated by name. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class MANIPULATOR> int xref:BloombergLP/balber/BerDecoderOptions/manipulateAttribute-08.adoc[manipulateAttribute]( MANIPULATOR& manipulator, char const* name, int nameLength); ---- [.small]#xref:BloombergLP/balber/BerDecoderOptions/manipulateAttribute-08.adoc[_» more..._]# == Return Value * value from `manipulator`, or ‐1 if `id` is not found * value from `manipulator`, or ‐1 if `name` is not found == Parameters [cols="1,4"] |=== | Name| Description | *manipulator* | functor invoked on the selected attribute | *id* | attribute identifier to manipulate | *name* | attribute name to manipulate | *nameLength* | length of `name` in bytes |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#