bdlat_sequenceHasAttribute overloads
Synopses
Declared in <bdlat_sequencefunctions.h>
Default customization‐point implementation of hasAttribute by id.
template<class TYPE>
bool
bdlat_sequenceHasAttribute(
TYPE const& object,
int attributeId);
Default customization‐point implementation of hasAttribute by name.
template<class TYPE>
bool
bdlat_sequenceHasAttribute(
TYPE const& object,
char const* attributeName,
int attributeNameLength);
Return Value
-
trueifobjecthas the attribute withattributeId, andfalseotherwise -
trueifobjecthas the named attribute, andfalseotherwise
Parameters
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 |
Created with MrDocs