[#BloombergLP-baljsn-EncoderTestDegenerateChoice1Sequence-manipulateAttribute-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1Sequence.adoc[EncoderTestDegenerateChoice1Sequence]::manipulateAttribute
:relfileprefix: ../../../
:mrdocs:

`manipulateAttribute` overloads

== Synopses

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

Invoke `manipulator` on the modifiable attribute indicated by `id`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename t&lowbar;MANIPULATOR&gt;
int
xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1Sequence/manipulateAttribute-03.adoc[manipulateAttribute](
    t&lowbar;MANIPULATOR& manipulator,
    int id);
----

[.small]#xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1Sequence/manipulateAttribute-03.adoc[_» more&period;&period;&period;_]#

Invoke `manipulator` on the modifiable attribute indicated by `name`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename t&lowbar;MANIPULATOR&gt;
int
xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1Sequence/manipulateAttribute-08.adoc[manipulateAttribute](
    t&lowbar;MANIPULATOR& manipulator,
    char const* name,
    int nameLength);
----

[.small]#xref:BloombergLP/baljsn/EncoderTestDegenerateChoice1Sequence/manipulateAttribute-08.adoc[_» more&period;&period;&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 the matching attribute
| *id*
| attribute identifier
| *name*
| attribute name
| *nameLength*
| length of `name`
|===


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