|
cmpi
|
#include <cmpi/cmpift.h>
Public Attributes | |
| int | ftVersion |
| CMPIStatus(* | release )(CMPIArray *ar) |
| CMPIArray *(* | clone )(const CMPIArray *ar, CMPIStatus *rc) |
| CMPICount(* | getSize )(const CMPIArray *ar, CMPIStatus *rc) |
| CMPIType(* | getSimpleType )(const CMPIArray *ar, CMPIStatus *rc) |
| CMPIData(* | getElementAt )(const CMPIArray *ar, CMPICount index, CMPIStatus *rc) |
| CMPIStatus(* | setElementAt )(CMPIArray *ar, CMPICount index, const CMPIValue *value, CMPIType type) |
This structure is a table of pointers providing access to Array support sevices.
| CMPIArray *(* _CMPIArrayFT::clone) (const CMPIArray *ar, CMPIStatus *rc) |
Create an independent copy of this Array object. The resulting object must be released explicitly.
| ar | Array this pointer. |
| rc | Output: Service return status (suppressed when NULL). |
| int _CMPIArrayFT::ftVersion |
Function table version
| CMPIData(* _CMPIArrayFT::getElementAt) (const CMPIArray *ar, CMPICount index, CMPIStatus *rc) |
Gets an element value defined by its index.
| ar | Array this pointer. |
| index | Position in the internal Data array. |
| rc | Output: Service return status (suppressed when NULL). |
| CMPIType(* _CMPIArrayFT::getSimpleType) (const CMPIArray *ar, CMPIStatus *rc) |
Gets the element type.
| ar | Array this pointer. |
| rc | Output: Service return status (suppressed when NULL). |
| CMPICount(* _CMPIArrayFT::getSize) (const CMPIArray *ar, CMPIStatus *rc) |
Gets the number of elements contained in this Array.
| ar | Array this pointer. |
| rc | Output: Service return status (suppressed when NULL). |
Referenced by CmpiArray::size().
| CMPIStatus(* _CMPIArrayFT::release) (CMPIArray *ar) |
The Array object will not be used any further and may be freed by CMPI run time system.
| ar | Array this pointer. |
| CMPIStatus(* _CMPIArrayFT::setElementAt) (CMPIArray *ar, CMPICount index, const CMPIValue *value, CMPIType type) |
Sets an element value defined by its index.
| ar | Array this pointer. |
| index | Position in the internal Data array. |
| value | Address of value structure. |
| type | Value type. |