OpenDOF Project
DOFObjectIDAttribute DOFObjectID_GetAttributeAtIndex ( const DOFObjectID  self,
uint8  index 
)

Get the N'th Attribute extension of a DOFObjectID.

Lifecycle
The data returned is owned by the DOFObjectID and is only valid as long as the DOFObjectID remains valid. It must not be destroyed individually.
Parameters
selfThe DOFObjectID. This should not be NULL.
indexSpecifies the N'th Attribute to find within all available Attribute ID extensions. This should be less than the total count of attributes on the DOFObjectID.
Returns
DOFObjectIDAttribute for found N'th Attribute.
Exceptions
ADOFObjectIDAttribute is returned with an ID of DOFOBJECTIDATTRIBUTE_INVALID if the DOFObjectID is NULL, of if no N'th Attribute exists.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22