OpenDOF Project
DOFObjectIDAttribute DOFObjectID_GetAttribute ( const DOFObjectID  self,
const DOFObjectIDAttributeType  type 
)

From a DOFObjectID, get an Attribute extension having a specific ID.

Parameters
selfThe DOFObjectID. This should not be NULL.
typeThe ID of the Attribute to find within all available Attribute extensions. The DOFObjectID should contain the requested attribute. See DOFObjectIDAttributeType. Valid numeric range is 0 <= type <= 127.
Returns
DOFObjectIDAttribute for the found Attribute.
Exceptions
ADOFObjectIDAttribute is returned with an ID of DOFOBJECTIDATTRIBUTE_INVALID if the DOFObjectID is NULL, or if no matching attribute is found.
core-c-dof-oal Version 7.1.5 Build 0
2017-01-25