[#BloombergLP-balb-Sequence4-manipulateAttribute-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/Sequence4.adoc[Sequence4]::manipulateAttribute :relfileprefix: ../../../ :mrdocs: Invoke the specified manipulator on the attribute indicated by `name`. == Synopsis Declared in `<balb_testmessages.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 returned from the invocation of `manipulator` if `name` identifies an attribute of this class, and ‐1 otherwise == Parameters [cols="1,4"] |=== | Name| Description | *manipulator* | functor invoked on the matching attribute | *name* | attribute name | *nameLength* | length of `name` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#