CMPI 2.1.0 API
|
Functions | |
static CMPICount | CMGetArrayCount (const CMPIArray *ar, CMPIStatus *rc) |
Get the number of array elements in a CMPIArray object. More... | |
static CMPIType | CMGetArrayType (const CMPIArray *ar, CMPIStatus *rc) |
Get the type of the array elements in a CMPIArray object. More... | |
static CMPIData | CMGetArrayElementAt (const CMPIArray *ar, CMPICount index, CMPIStatus *rc) |
Get an array element in a CMPIArray object by index. More... | |
static CMPIStatus | CMSetArrayElementAt (const CMPIArray *ar, CMPICount index, const CMPIValue *value, CMPIType type) |
Set the value of an existing array element in a CMPIArray object by index. More... | |
|
inlinestatic |
Get the number of array elements in a CMPIArray object.
ar | CMPIArray object. | |
[out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Get the type of the array elements in a CMPIArray object.
ar | CMPIArray object. | |
[out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Get an array element in a CMPIArray object by index.
ar | CMPIArray object. | |
index | Zero-based position of the array element in the CMPIArray. | |
[out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Set the value of an existing array element in a CMPIArray object by index.
ar | CMPIArray object. |
index | Zero-based position of the existing element in the CMPIArray object. |
value | CMPIValue structure containing the non-NULL value to be assigned to the element, or NULL to assign NULL. |
type | Type of the value. |