struct _CMPIResultFT

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

Documentation

This structure is a table of pointers providing access to Result support sevices. Result support services are used to explicity return data produced by provider functions.

[more]int ftVersion
Function table version
[more]CMPIStatus (*release)(CMPIResult* rslt)
The Result object will not be used any further and may be freed by CMPI run time system.
[more]CMPIResult* (*clone)(const CMPIResult* rslt, CMPIStatus* rc)
Create an independent copy of this Result object.
[more]CMPIStatus (*returnData)(const CMPIResult* rslt, const CMPIValue* value, const CMPIType type)
Return a value/type pair.
[more]CMPIStatus (*returnInstance)(const CMPIResult* rslt, const CMPIInstance* inst)
Return a Instance object.
[more]CMPIStatus (*returnObjectPath)(const CMPIResult* rslt, const CMPIObjectPath* ref)
Return a ObjectPath object.
[more]CMPIStatus (*returnDone)(const CMPIResult* rslt)
Indicates no further data to be returned.
[more]CMPIStatus (*returnError)(const CMPIResult* rslt, const CMPIError* er)
Return a CMPIError object instance

oint ftVersion
Function table version

oCMPIStatus (*release)(CMPIResult* rslt)
The Result object will not be used any further and may be freed by CMPI run time system.
Parameters:
rslt - Result this pointer.
Returns:
Service return status.

oCMPIResult* (*clone)(const CMPIResult* rslt, CMPIStatus* rc)
Create an independent copy of this Result object.
Parameters:
rslt - Result this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
Pointer to copied Result object.

oCMPIStatus (*returnData)(const CMPIResult* rslt, const CMPIValue* value, const CMPIType type)
Return a value/type pair.
Parameters:
rslt - Result this pointer.
- value Address of a Value object.
- type Type of the Value object.
Returns:
Service return status.

oCMPIStatus (*returnInstance)(const CMPIResult* rslt, const CMPIInstance* inst)
Return a Instance object.
Parameters:
rslt - Result this pointer.
inst - Instance to be returned.
Returns:
Service return status.

oCMPIStatus (*returnObjectPath)(const CMPIResult* rslt, const CMPIObjectPath* ref)
Return a ObjectPath object.
Parameters:
rslt - Result this pointer.
ref - ObjectPath to be returned.
Returns:
Service return status.

oCMPIStatus (*returnDone)(const CMPIResult* rslt)
Indicates no further data to be returned.
Parameters:
rslt - Result this pointer.
Returns:
Service return status.

oCMPIStatus (*returnError)(const CMPIResult* rslt, const CMPIError* er)
Return a CMPIError object instance
Parameters:
rslt - Result this pointer.
er - Error to be returned.
Returns:
Service return status.

Alphabetic index