BloombergLP::bdlar::SequenceRef::hasAttribute

hasAttribute overloads

Synopses

Declared in <bdlar_sequenceref.h>

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

bool
hasAttribute(int attributeId) const;
» more...

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

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

Return Value

true if the attribute exists, and false otherwise

Parameters

NameDescription
attributeIdid of the attribute
attributeNamename of the attribute
attributeNameLengthlength of attributeName