[#BloombergLP-baljsn-EncoderTestSequenceWithUntagged7-manipulateAttributes]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged7.adoc[EncoderTestSequenceWithUntagged7]::manipulateAttributes
:relfileprefix: ../../../
:mrdocs:

Invoke `manipulator` on each modifiable attribute of this object&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;encoder&lowbar;testtypes&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename t&lowbar;MANIPULATOR&gt;
int
manipulateAttributes(t&lowbar;MANIPULATOR& manipulator);
----

== Description

Invoke the specified &apos;manipulator&apos; sequentially on the address of each (modifiable) attribute of this object, supplying &apos;manipulator&apos; with the corresponding attribute information structure until such invocation returns a non&hyphen;zero value&period; Return the value from the last invocation of &apos;manipulator&apos; (i&period;e&period;, the invocation that terminated the sequence)&period;

== Return Value

the value returned from the invocation of `manipulator`, or a non&hyphen;zero value on failure

== Parameters

[cols="1,4"]
|===
| Name| Description
| *manipulator*
| functor invoked on each attribute
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
