_CMPIArrayFT Struct Reference

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

#include <cmpift.h>

Collaboration diagram for _CMPIArrayFT:

Collaboration graph
[legend]
List of all members.

Public Attributes

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

Detailed Description

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

Definition at line 1816 of file cmpift.h.


Member Data Documentation

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

int _CMPIArrayFT::ftVersion
 

Function table version.

Definition at line 1820 of file cmpift.h.

CMPIData(* _CMPIArrayFT::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.

Referenced by CmpiArrayIdx::operator>>().

CMPIType(* _CMPIArrayFT::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.

Referenced by CmpiArrayIdx::operator=(), and CmpiArrayIdx::operator>>().

CMPICount(* _CMPIArrayFT::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.

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.

Parameters:
ar Array this pointer.
Returns:
Service return status.

CMPIStatus(* _CMPIArrayFT::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.

Referenced by CmpiArrayIdx::operator=().


The documentation for this struct was generated from the following file:
Generated on Thu Feb 9 09:11:25 2006 for openwbem by  doxygen 1.4.6