[#BloombergLP-baljsn-EncoderTestSequenceWithUntagged7-manipulateAttribute-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged7.adoc[EncoderTestSequenceWithUntagged7]::manipulateAttribute :relfileprefix: ../../../ :mrdocs: Invoke `manipulator` on the modifiable attribute indicated by `name`. == Synopsis Declared in `<baljsn_encoder_testtypes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename t_MANIPULATOR> int manipulateAttribute( t_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 the value returned from the invocation of `manipulator`, or a non‐zero value on failure == 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]#