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

Get a DOFValue field from the DOFValueStructure.

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