[#BloombergLP-balber-BerDecoderOptions-manipulateAttribute-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerDecoderOptions.adoc[BerDecoderOptions]::manipulateAttribute :relfileprefix: ../../../ :mrdocs: Invoke the specified `manipulator` on the attribute indicated by name. == Synopsis Declared in `<balber_berdecoderoptions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class MANIPULATOR> int manipulateAttribute( MANIPULATOR& manipulator, char const* name, int nameLength); ---- == Description Invoke the specified `manipulator` on the address of the (modifiable) attribute indicated by the specified `name` of the specified `nameLength`, supplying `manipulator` with the corresponding attribute information structure. Return the value returned from the invocation of `manipulator` if `name` identifies an attribute of this class, and ‐1 otherwise. == Return Value value from `manipulator`, or ‐1 if `name` is not found == Parameters [cols="1,4"] |=== | Name| Description | *manipulator* | functor invoked on the selected attribute | *name* | attribute name to manipulate | *nameLength* | length of `name` in bytes |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#