bdlat_sequenceHasAttribute overloads

Synopses

Declared in <bdlar_sequenceref.h>

Return true if the specified ref has an attribute with the specified attributeId, and false otherwise.

bool
bdlat_sequenceHasAttribute(
    SequenceConstRef const& ref,
    int attributeId);

Return true if the specified ref has an attribute with the specified attributeId, and false otherwise.

bool
bdlat_sequenceHasAttribute(
    SequenceRef const& ref,
    int attributeId);

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

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

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

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

Return Value

true if the attribute exists, and false otherwise

Parameters

Name

Description

ref

sequence reference to query

attributeId

id of the attribute

attributeName

name of the attribute

attributeNameLength

length of attributeName

Created with MrDocs