OpenDOF Project
DOFValue DOFValueArray_GetElement ( const DOFValue  self,
uint16  index 
)

Get a DOFValue element from the DOFValueArray.

Note
The returned data is owned by the encapsulating DOFValueArray, and is only valid in the context of that DOFValueArray. It must not be freed by the caller. Once the DOFValueArray is freed, the DOFValue is no longer valid. If the DOFValue is needed for longer than the lifetime of the DOFValueArray, it must be copied manually.
Parameters
selfThe DOFValueArray in which to retrieve an element. This must not be NULL.
indexThe element index to be retrieved from self.
Returns
The DOFValue element of the DOFValueArray.
Exceptions
NULLis returned if index specifies an element outside the bounds of the array, or if self is NULL or its type is not a DOFValueArray.
core-c-dof-oal Version 7.1.5 Build 0
2017-01-25