|
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
-
self | The DOFValueStructure in which to retrieve a field. This must not be NULL. |
index | The field index to be retrieved from self. |
- Returns
- The DOFValue field of the DOFValueStructure.
- Exceptions
-
NULL | is returned if index does not specify a valid field of the structure, or if self is NULL or its type is not a DOFValueStructure. |
|