cmpi
|
#include <cmpi/cmpift.h>
Public Attributes | |
int | ftVersion |
CMPIStatus(* | release )(CMPIInstance *inst) |
CMPIInstance *(* | clone )(const CMPIInstance *inst, CMPIStatus *rc) |
CMPIData(* | getProperty )(const CMPIInstance *inst, const char *name, CMPIStatus *rc) |
CMPIData(* | getPropertyAt )(const CMPIInstance *inst, CMPICount index, CMPIString **name, CMPIStatus *rc) |
CMPICount(* | getPropertyCount )(const CMPIInstance *inst, CMPIStatus *rc) |
CMPIStatus(* | setProperty )(const CMPIInstance *inst, const char *name, const CMPIValue *value, CMPIType type) |
CMPIObjectPath *(* | getObjectPath )(const CMPIInstance *inst, CMPIStatus *rc) |
CMPIStatus(* | setPropertyFilter )(CMPIInstance *inst, const char **propertyList, const char **keys) |
CMPIStatus(* | setObjectPath )(CMPIInstance *inst, const CMPIObjectPath *op) |
CMPIStatus(* | setPropertyWithOrigin )(const CMPIInstance *, const char *, const CMPIValue *, const CMPIType, const char *) |
This structure is a table of pointers providing access to Instance support sevices.
CMPIInstance*(* _CMPIInstanceFT::clone) (const CMPIInstance *inst, CMPIStatus *rc) |
Create an independent copy of this Instance object. The resulting object must be released explicitly.
inst | Instance this pointer. |
rc | Output: Service return status (suppressed when NULL). |
int _CMPIInstanceFT::ftVersion |
Function table version
CMPIObjectPath*(* _CMPIInstanceFT::getObjectPath) (const CMPIInstance *inst, CMPIStatus *rc) |
Generates an ObjectPath out of the namespace, classname and key propeties of this Instance.
inst | Instance this pointer. |
rc | Output: Service return status (suppressed when NULL). |
CMPIData(* _CMPIInstanceFT::getProperty) (const CMPIInstance *inst, const char *name, CMPIStatus *rc) |
Gets a named property value.
inst | Instance this pointer. |
name | Property name. |
rc | Output: Service return status (suppressed when NULL). |
Referenced by CmpiInstance::getProperty().
CMPIData(* _CMPIInstanceFT::getPropertyAt) (const CMPIInstance *inst, CMPICount index, CMPIString **name, CMPIStatus *rc) |
Gets a Property value defined by its index.
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). |
Referenced by CmpiInstance::getProperty().
CMPICount(* _CMPIInstanceFT::getPropertyCount) (const CMPIInstance *inst, CMPIStatus *rc) |
Gets the number of properties contained in this Instance.
inst | Instance this pointer. |
rc | Output: Service return status (suppressed when NULL). |
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. This will also release the contained objects.
inst | Instance this pointer. |
CMPIStatus(* _CMPIInstanceFT::setObjectPath) (CMPIInstance *inst, const CMPIObjectPath *op) |
Set/replace the ObjectPath component in an instance.
inst | The CMPIInstance structure containing a complete instance. op The CMPIObjectPath structure. This objectpath shall contain the namespace,classname, as well as all keys for the specified instance. |
CMPIStatus(* _CMPIInstanceFT::setProperty) (const CMPIInstance *inst, const char *name, const CMPIValue *value, CMPIType type) |
Adds/replaces a named Property.
inst | Instance this pointer. |
name | Entry name. |
value | Address of value structure. |
type | Value type. |
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.
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 | Deprecated, ignored by MB, maintained here for compatibility. |
Referenced by CmpiInstance::setPropertyFilter().
CMPIStatus(* _CMPIInstanceFT::setPropertyWithOrigin) (const CMPIInstance *, const char *, const CMPIValue *, const CMPIType, const char *) |
add/replace a named Property value and origin
inst | is a pointer to the CMPIInstance structure. |
name | is a string containing the Property name. |
value | points to a CMPIValue structure containing the value to be assigned to the Property. |
type | is a CMPIType structure defining the type of the value. |
origin | specifies the instance origin. If NULL, then no origin is attached to the property |