hasAttribute overloads
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...
true if object has the attribute with attributeId, and false otherwisetrue if object has the named attribute, and false otherwise| Name | Description |
|---|---|
| object | sequence to query for the attribute |
| attributeId | id of the attribute to look up |
| attributeName | name of the attribute to look up |
| attributeNameLength | length of attributeName |