BloombergLP::bdlar::SequenceRef::hasAttribute

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

Synopsis

Declared in <bdlar_sequenceref.h>

bool
hasAttribute(
    char const* attributeName,
    int attributeNameLength) const;

Return Value

true if the attribute exists, and false otherwise

Parameters

NameDescription
attributeNamename of the attribute
attributeNameLengthlength of attributeName