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
-
self | The DOFValueArray in which to retrieve an element. This must not be NULL. |
index | The element index to be retrieved from self. |
- Returns
- The DOFValue element of the DOFValueArray.
- Exceptions
-
NULL | is returned if index specifies an element outside the bounds of the array, or if self is NULL or its type is not a DOFValueArray. |