_CMPIInstanceFT Struct Reference

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

#include <cmpift.h>

Collaboration diagram for _CMPIInstanceFT:

Collaboration graph
[legend]
List of all members.

Public Attributes

int ftVersion
 Function table version.
CMPIStatus(* release )(CMPIInstance *inst)
 The Instance object will not be used any further and may be freed by CMPI run time system.
CMPIInstance *(* clone )(const CMPIInstance *inst, CMPIStatus *rc)
 Create an independent copy of this Instance object.
CMPIData(* getProperty )(const CMPIInstance *inst, const char *name, CMPIStatus *rc)
 Gets a named property value.
CMPIData(* getPropertyAt )(const CMPIInstance *inst, unsigned int index, CMPIString **name, CMPIStatus *rc)
 Gets a Property value defined by its index.
unsigned int(* getPropertyCount )(const CMPIInstance *inst, CMPIStatus *rc)
 Gets the number of properties contained in this Instance.
CMPIStatus(* setProperty )(const CMPIInstance *inst, const char *name, const CMPIValue *value, CMPIType type)
 Adds/replaces a named Property.
CMPIObjectPath *(* getObjectPath )(const CMPIInstance *inst, CMPIStatus *rc)
 Generates an ObjectPath out of the namespace, classname and key propeties of this Instance.
CMPIStatus(* setPropertyFilter )(CMPIInstance *inst, const char **propertyList, const char **keys)
 Directs CMPI to ignore any setProperty operations for this instance for any properties not in this list.

Detailed Description

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

Definition at line 898 of file cmpift.h.


Member Data Documentation

CMPIInstance*(* _CMPIInstanceFT::clone)(const CMPIInstance *inst, CMPIStatus *rc)
 

Create an independent copy of this Instance object.

The resulting object must be released explicitly.

Parameters:
inst Instance this pointer.
rc Output: Service return status (suppressed when NULL).
Returns:
Pointer to copied Instance object.

int _CMPIInstanceFT::ftVersion
 

Function table version.

Definition at line 902 of file cmpift.h.

CMPIObjectPath*(* _CMPIInstanceFT::getObjectPath)(const CMPIInstance *inst, CMPIStatus *rc)
 

Generates an ObjectPath out of the namespace, classname and key propeties of this Instance.

Parameters:
inst Instance this pointer.
rc Output: Service return status (suppressed when NULL).
Returns:
the generated ObjectPath.

CMPIData(* _CMPIInstanceFT::getProperty)(const CMPIInstance *inst, const char *name, CMPIStatus *rc)
 

Gets a named property value.

Parameters:
inst Instance this pointer.
name Property name.
rc Output: Service return status (suppressed when NULL).
Returns:
Property value.

Referenced by CmpiInstance::getProperty().

CMPIData(* _CMPIInstanceFT::getPropertyAt)(const CMPIInstance *inst, unsigned int index, CMPIString **name, CMPIStatus *rc)
 

Gets a Property value defined by its index.

Parameters:
inst Instance this pointer.
index Position in the internal Data array.
name Output: Returned property name (suppressed when NULL).
rc Output: Service return status (suppressed when NULL).
Returns:
Property value.

Referenced by CmpiInstance::getProperty().

unsigned int(* _CMPIInstanceFT::getPropertyCount)(const CMPIInstance *inst, CMPIStatus *rc)
 

Gets the number of properties contained in this Instance.

Parameters:
inst Instance this pointer.
rc Output: Service return status (suppressed when NULL).
Returns:
Number of properties.

Referenced by CmpiInstance::getPropertyCount().

CMPIStatus(* _CMPIInstanceFT::release)(CMPIInstance *inst)
 

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

Parameters:
inst Instance this pointer.
Returns:
Service return status.

CMPIStatus(* _CMPIInstanceFT::setProperty)(const CMPIInstance *inst, const char *name, const CMPIValue *value, CMPIType type)
 

Adds/replaces a named Property.

Parameters:
inst Instance this pointer.
name Entry name.
value Address of value structure.
type Value type.
Returns:
Service return status.

Referenced by CmpiInstance::setProperty().

CMPIStatus(* _CMPIInstanceFT::setPropertyFilter)(CMPIInstance *inst, const char **propertyList, const char **keys)
 

Directs CMPI to ignore any setProperty operations for this instance for any properties not in this list.

Parameters:
inst Instance this pointer.
propertyList If not NULL, the members of the array define one or more Property names to be accepted by setProperty operations.
keys Array of key property names of this instance. This array must be specified.
Returns:
Service return status.


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