OpenDOF Project
boolean DOFObjectID_HasAttribute ( const DOFObjectID  self,
const DOFObjectIDAttributeType  type 
)

Ask if a DOFObjectID includes an Attribute extension having a specific ID.

Parameters
selfThe DOFObjectID. This must not be NULL.
typeThe ID of the Attribute to find within all available Attribute extensions. See DOFObjectIDAttributeType. Valid numeric range is 0 <= type <= 127.
Returns
Non-zero (TRUE) if an Attribute extension with matching Attribute ID is found, FALSE otherwise.
Exceptions
Zero(FALSE) is returned if the DOFObjectID is NULL.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22