BloombergLP::bdlar::bdlat_sequenceHasAttribute

Return true if the specified ref has an attribute with the specified attributeName of the specified attributeNameLength, and false otherwise.

Synopsis

Declared in <bdlar_sequenceref.h>

bool
bdlat_sequenceHasAttribute(
    SequenceConstRef const& ref,
    char const* attributeName,
    int attributeNameLength);

Return Value

true if the attribute exists, and false otherwise

Parameters

NameDescription
refsequence reference to query
attributeNamename of the attribute
attributeNameLengthlength of attributeName