A DOF Array Data Value. More...
Functions | |
DOFType | DOFValueArrayType_Create (const DOFType subtype, uint32 minLength, uint32 maxLength) |
Create a new Array Type. | |
DOFValue | DOFValueArray_Create (uint16 elementCount, const DOFValue elements[]) |
Create a new DOFValueArray from a list of DOFValue elements. | |
DOFValue | DOFValueArray_Create_Type (const DOFType type, uint16 elementCount, const DOFValue elements[]) |
Create a new DOFValueArray from a known array type and a list of DOFValue elements. | |
uint16 | DOFValueArray_GetElementsCount (const DOFValue self) |
Report the number of elements in the DOFValueArray. | |
DOFValue | DOFValueArray_GetElement (const DOFValue self, uint16 index) |
Get a DOFValue element from the DOFValueArray. | |
const DOFValue * | DOFValueArray_GetElements (const DOFValue self) |
Get a reference to the encapsulated DOFValue array. | |
DOFValue | DOFValueArrayInt8_Create (uint16 len, const int8 *val) |
Create a new DOFValue to hold an array of values of type int8. | |
int8 * | DOFValueArrayInt8_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type int8 from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayInt16_Create (uint16 len, const int16 *val) |
Create a new DOFValue to hold an array of values of type int16. | |
int16 * | DOFValueArrayInt16_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type int16 from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayInt32_Create (uint16 len, const int32 *val) |
Create a new DOFValue to hold an array of values of type int32. | |
int32 * | DOFValueArrayInt32_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type int32 from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayInt64_Create (uint16 len, const int64 *val) |
Create a new DOFValue to hold an array of values of type int64. | |
int64 * | DOFValueArrayInt64_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type int64 from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayUInt8_Create (uint16 len, const uint8 *val) |
Create a new DOFValue to hold an array of values of type uint8. | |
uint8 * | DOFValueArrayUInt8_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type uint8 from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayUInt16_Create (uint16 len, const uint16 *val) |
Create a new DOFValue to hold an array of values of type uint16. | |
uint16 * | DOFValueArrayUInt16_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type uint16 from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayUInt32_Create (uint16 len, const uint32 *val) |
Create a new DOFValue to hold an array of values of type uint32. | |
uint32 * | DOFValueArrayUInt32_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type uint32 from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayUInt64_Create (uint16 len, const uint64 *val) |
Create a new DOFValue to hold an array of values of type uint64. | |
uint64 * | DOFValueArrayUInt64_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type uint64 from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayFloat32_Create (uint16 len, const float32 *val) |
Create a new DOFValue to hold an array of values of type float32. | |
float32 * | DOFValueArrayFloat32_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type float32 from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayFloat64_Create (uint16 len, const float64 *val) |
Create a new DOFValue to hold an array of values of type float64. | |
float64 * | DOFValueArrayFloat64_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type float64 from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayBoolean_Create (uint16 len, const boolean *val) |
Create a new DOFValue to hold an array of values of type boolean. | |
boolean * | DOFValueArrayBoolean_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type boolean from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayDateTime_Create (uint16 len, const DateTime *val) |
Create a new DOFValue to hold an array of values of type DateTime. | |
DateTime * | DOFValueArrayDateTime_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type DateTime from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayGUID_Create (uint16 len, const GUID *val) |
Create a new DOFValue to hold an array of values of type GUID. | |
GUID * | DOFValueArrayGUID_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type GUID from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayString_Create (uint16 encoding, uint16 len, const char *const *val) |
Create a new DOFValue to hold an array of values of type String (char *). | |
char ** | DOFValueArrayString_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new native array of type String (char *) from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayInterfaceID_Create (uint16 len, const DOFInterfaceID *val) |
Create a new DOFValue to hold an array of values of type DOFInterfaceID. | |
DOFInterfaceIDList | DOFValueArrayInterfaceID_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new DOFInterfaceIDList from the contents of the specified DOFValueArray. | |
DOFValue | DOFValueArrayObjectID_Create (uint16 len, const DOFObjectID *val) |
Create a new DOFValue to hold an array of values of type DOFObjectID. | |
DOFObjectIDList | DOFValueArrayObjectID_Extract (const DOFValue self, uint16 elementOffset, uint16 elementCount) |
Create a new DOFObjectIDList from the contents of the specified DOFValueArray. | |
A DOF Array Data Value.
A DOFValueArray contains an array of DOFValues, and handles mappings to/from arrays of native language types. Any valid DOFValue can be contained in the array, including a DOFValueStructure or another DOFValueArray. Direct language mappings are not provided for these nested types, but creation and access is available through the generic DOFValueArray functions (by determining the array length and obtaining the DOFValue for each element individually).