BloombergLP::bdlat_SequenceFunctions::hasAttribute

hasAttribute overloads

Synopses

Declared in <bdlat_sequencefunctions.h>

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

template<class TYPE>
bool
hasAttribute(
    TYPE const& object,
    int attributeId);
» more...

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

template<class TYPE>
bool
hasAttribute(
    TYPE const& object,
    char const* attributeName,
    int attributeNameLength);
» more...