_CMPIInstanceFT Struct Reference
#include <cmpi/cmpift.h>
List of all members.
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) |
Detailed Description
This structure is a table of pointers providing access to Instance support sevices.
Member Data Documentation
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.
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.
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().
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().
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().
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.
- Parameters:
-
| inst | Instance this pointer. |
- Returns:
- Service return status.
Set/replace the ObjectPath component in an instance.
- Parameters:
-
| 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. |
- Returns:
- Service return status.
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().
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 | Deprecated, ignored by MB, maintained here for compatibility. |
- Returns:
- Service return status.
Referenced by CmpiInstance::setPropertyFilter().
The documentation for this struct was generated from the following file: