[#BloombergLP-baljsn-EncoderTestSequenceWithUntagged5-lookupAttributeInfo-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged5.adoc[EncoderTestSequenceWithUntagged5]::lookupAttributeInfo
:relfileprefix: ../../../
:mrdocs:

`lookupAttributeInfo` overloads

== Synopses

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

Return attribute information for the attribute indicated by the specified &apos;id&apos; if the attribute exists, and 0 otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlat_AttributeInfo.adoc[bdlat&lowbar;AttributeInfo] const*
xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged5/lookupAttributeInfo-09.adoc[lookupAttributeInfo](int id);
----

[.small]#xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged5/lookupAttributeInfo-09.adoc[_» more&period;&period;&period;_]#

Return attribute information for the attribute indicated by the specified &apos;name&apos; of the specified &apos;nameLength&apos; if the attribute exists, and 0 otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlat_AttributeInfo.adoc[bdlat&lowbar;AttributeInfo] const*
xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged5/lookupAttributeInfo-0e.adoc[lookupAttributeInfo](
    char const* name,
    int nameLength);
----

[.small]#xref:BloombergLP/baljsn/EncoderTestSequenceWithUntagged5/lookupAttributeInfo-0e.adoc[_» more&period;&period;&period;_]#

== Return Value

a pointer to the information structure if found, and 0 otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *id*
| attribute identifier to look up
| *name*
| attribute name
| *nameLength*
| length of `name`
|===


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