cmpi
Public Attributes

_CMPIArrayFT Struct Reference

#include <cmpi/cmpift.h>

List of all members.

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)

Detailed Description

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


Member Data Documentation

Create an independent copy of this Array object. The resulting object must be released explicitly.

Parameters:
arArray this pointer.
rcOutput: Service return status (suppressed when NULL).
Returns:
Pointer to copied Array object.

Function table version

Gets an element value defined by its index.

Parameters:
arArray this pointer.
indexPosition in the internal Data array.
rcOutput: Service return status (suppressed when NULL).
Returns:
Element value.

Referenced by CmpiArrayIdx::getData().

Gets the element type.

Parameters:
arArray this pointer.
rcOutput: Service return status (suppressed when NULL).
Returns:
Number of elements.

Referenced by CmpiArrayIdx::operator=().

Gets the number of elements contained in this Array.

Parameters:
arArray this pointer.
rcOutput: Service return status (suppressed when NULL).
Returns:
Number of elements.

Referenced by CmpiArray::size().

The Array object will not be used any further and may be freed by CMPI run time system.

Parameters:
arArray this pointer.
Returns:
Service return status.

Sets an element value defined by its index.

Parameters:
arArray this pointer.
indexPosition in the internal Data array.
valueAddress of value structure.
typeValue type.
Returns:
Service return status.

Referenced by CmpiArrayIdx::operator=().


The documentation for this struct was generated from the following file: