|
DOFObjectIDList DOFValueArrayObjectID_Extract |
( |
const DOFValue |
self, |
|
|
uint16 |
elementOffset, |
|
|
uint16 |
elementCount |
|
) |
| |
Create a new DOFObjectIDList from the contents of the specified DOFValueArray.
- Resource Management:
- This function allocates resources that must later be freed by calling DOFObjectIDList_Destroy.
- Parameters
-
self | The DOFValue to be extracted. This must be a DOFValueArray, must represent an array of type DOFObjectID, and must not be NULL. |
elementOffset | The offset of the first array element to extract (0 starts at the beginning of the array). |
elementCount | The number of array elements to extract. If this number is larger than the remaining elements in the array (after elementOffset), the excess elements are returned as values of NULL. |
- Returns
- The new DOFObjectIDList from the contents of self.
- Exceptions
-
NULL | is returned if the resulting DOFObjectIDList could not be created, or an invalid parameter was detected. |
- See Also
- DOFValueArray_GetElementsCount
|