[#BloombergLP-baljsn-EncoderTestSequenceWithUntagged5Sequence-accessAttribute-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged5Sequence.adoc[EncoderTestSequenceWithUntagged5Sequence]::accessAttribute :relfileprefix: ../../../ :mrdocs: `accessAttribute` overloads == Synopses Declared in `<baljsn_encoder_testtypes.h>` Invoke the specified 'accessor' on the (non‐modifiable) attribute of this object indicated by the specified 'id', supplying 'accessor' with the corresponding. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename t_ACCESSOR> int xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged5Sequence/accessAttribute-0d.adoc[accessAttribute]( t_ACCESSOR& accessor, int id) const; ---- [.small]#xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged5Sequence/accessAttribute-0d.adoc[_» more..._]# Invoke the specified 'accessor' on the (non‐modifiable) attribute of this object indicated by the specified 'name' of the specified 'nameLength', supplying. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename t_ACCESSOR> int xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged5Sequence/accessAttribute-0e.adoc[accessAttribute]( t_ACCESSOR& accessor, char const* name, int nameLength) const; ---- [.small]#xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged5Sequence/accessAttribute-0e.adoc[_» more..._]# == Return Value the value returned from the invocation of `accessor`, or a non‐zero value on failure == Parameters [cols="1,4"] |=== | Name| Description | *accessor* | functor invoked on the matching attribute | *id* | attribute identifier | *name* | attribute name | *nameLength* | length of `name` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#