BloombergLP::baljsn::EncoderTestSequenceWithUntagged6::lookupAttributeInfo

lookupAttributeInfo overloads

Synopses

Declared in <baljsn_encoder_testtypes.h>

Return attribute information for the attribute indicated by the specified 'id' if the attribute exists, and 0 otherwise.

static
bdlat_AttributeInfo const*
lookupAttributeInfo(int id);
» more...

Return attribute information for the attribute indicated by the specified 'name' of the specified 'nameLength' if the attribute exists, and 0 otherwise.

static
bdlat_AttributeInfo const*
lookupAttributeInfo(
    char const* name,
    int nameLength);
» more...

Return Value

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

Parameters

NameDescription
idattribute identifier to look up
nameattribute name
nameLengthlength of name