cmpi
Public Attributes | List of all members
_CMPIArrayFT Struct Reference

#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)
 
const CMPIArrayar
 
const CMPIArray CMPICount index
 
const CMPIArray CMPICount
CMPIStatus
rc
 
CMPIArrayar
 
CMPIArray CMPICount index
 
CMPIArray CMPICount const
CMPIValue
value
 
CMPIArray CMPICount const
CMPIValue CMPIType 
type
 

Detailed Description

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

Member Data Documentation

const CMPIArray* _CMPIArrayFT::ar

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.
CMPIArray* _CMPIArrayFT::ar

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.
CMPIArray*(* _CMPIArrayFT::clone)(const CMPIArray *ar, CMPIStatus *rc)

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.
int _CMPIArrayFT::ftVersion

Function table version

CMPIType(* _CMPIArrayFT::getSimpleType)(const CMPIArray *ar, CMPIStatus *rc)

Gets the element type.

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

Referenced by CmpiArrayIdx::operator=().

CMPICount(* _CMPIArrayFT::getSize)(const CMPIArray *ar, CMPIStatus *rc)

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().

const CMPIArray CMPICount _CMPIArrayFT::index
CMPIArray CMPICount _CMPIArrayFT::index
const CMPIArray CMPICount CMPIStatus* _CMPIArrayFT::rc
CMPIStatus(* _CMPIArrayFT::release)(CMPIArray *ar)

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.
CMPIArray CMPICount const CMPIValue CMPIType _CMPIArrayFT::type
CMPIArray CMPICount const CMPIValue* _CMPIArrayFT::value

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