struct _CMPIArrayFT

This structure is a table of pointers providing access to Array support sevices

Documentation

This structure is a table of pointers providing access to Array support sevices

[more]int ftVersion
Function table version
[more]CMPIStatus (*release)(CMPIArray* ar)
The Array object will not be used any further and may be freed by CMPI run time system.
[more]CMPIArray* (*clone)(const CMPIArray* ar, CMPIStatus* rc)
Create an independent copy of this Array object.
[more]CMPICount (*getSize)(const CMPIArray* ar, CMPIStatus* rc)
Gets the number of elements contained in this Array.
[more]CMPIType (*getSimpleType)(const CMPIArray* ar, CMPIStatus* rc)
Gets the element type.
[more]CMPIData (*getElementAt)(const CMPIArray* ar, CMPICount index, CMPIStatus* rc)
Gets an element value defined by its index.
[more]CMPIStatus (*setElementAt)(CMPIArray* ar, CMPICount index, const CMPIValue* value, CMPIType type)
Sets an element value defined by its index.

oint ftVersion
Function table version

oCMPIStatus (*release)(CMPIArray* ar)
The Array object will not be used any further and may be freed by CMPI run time system.
Parameters:
ar - Array this pointer.
Returns:
Service return status.

oCMPIArray* (*clone)(const CMPIArray* ar, CMPIStatus* rc)
Create an independent copy of this Array object. The resulting object must be released explicitly.
Parameters:
ar - Array this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
Pointer to copied Array object.

oCMPICount (*getSize)(const CMPIArray* ar, CMPIStatus* rc)
Gets the number of elements contained in this Array.
Parameters:
ar - Array this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
Number of elements.

oCMPIType (*getSimpleType)(const CMPIArray* ar, CMPIStatus* rc)
Gets the element type.
Parameters:
ar - Array this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
Number of elements.

oCMPIData (*getElementAt)(const CMPIArray* ar, CMPICount index, CMPIStatus* rc)
Gets an element value defined by its index.
Parameters:
ar - Array this pointer.
index - Position in the internal Data array.
- rc Output: Service return status (suppressed when NULL).
Returns:
Element value.

oCMPIStatus (*setElementAt)(CMPIArray* ar, CMPICount index, const CMPIValue* value, CMPIType type)
Sets an element value defined by its index.
Parameters:
ar - Array this pointer.
index - Position in the internal Data array.
- value Address of value structure.
- type Value type.
Returns:
Service return status.

Alphabetic index