_CMPIAssociationMIFT Struct Reference

#include <cmpift.h>

List of all members.

Public Attributes

int ftVersion
int miVersion
const char * miName
CMPIStatus(* cleanup )(CMPIAssociationMI *mi, const CMPIContext *ctx, CMPIBoolean terminating)
CMPIStatus(* associators )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *asscClass, const char *resultClass, const char *role, const char *resultRole, const char **properties)
CMPIStatus(* associatorNames )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *assocClass, const char *resultClass, const char *role, const char *resultRole)
CMPIStatus(* references )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *resultClass, const char *role, const char **properties)
CMPIStatus(* referenceNames )(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *resultClass, const char *role)

Detailed Description

This structure is a table of pointers providing access to Association provider functions. This table must be returend during initialization by the provider.


Member Data Documentation

CMPIStatus(* _CMPIAssociationMIFT::associatorNames)(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *assocClass, const char *resultClass, const char *role, const char *resultRole)

Enumerate ObjectPaths associated with the Instance defined by < op>.

Parameters:
mi Provider this pointer.
ctx Invocation Context
rslt Result data container.
op Source ObjectPath containing namespace, classname and key components.
assocClass If not NULL, MUST be a valid Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
resultClass If not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses).
role If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
resultRole If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the returned Object MUST match the value of this parameter).
Returns:
Function return status. The following CMPIrc codes shall be recognized: CMPI_RC_OK Operation successful. CMPI_RC_ERR_FAILED Unspecific error occurred. CMPI_RC_ERR_NOT_SUPPORTED Operation not supported by this MI. CMPI_RC_ERR_ACCESS_DENIED Not authorized. CMPI_RC_ERR_NOT_FOUND Instance not found.
CMPIStatus(* _CMPIAssociationMIFT::associators)(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *asscClass, const char *resultClass, const char *role, const char *resultRole, const char **properties)

Enumerate ObjectPaths associated with the Instance defined by < op>.

Parameters:
mi Provider this pointer.
ctx Invocation Context
rslt Result data container.
op Source ObjectPath containing namespace, classname and key components.
assocClass If not NULL, MUST be a valid Association Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Instance of this Class or one of its subclasses.
resultClass If not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses).
role If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
resultRole If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the returned Object plays the specified role (i.e. the name of the Property in the Association Class that refers to
properties If not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list. If NULL all properties must be returned. The returned Object MUST match the value of this parameter).
Returns:
Function return status. The following CMPIrc codes shall be recognized: CMPI_RC_OK Operation successful. CMPI_RC_ERR_FAILED Unspecific error occurred. CMPI_RC_ERR_NOT_SUPPORTED Operation not supported by this MI. CMPI_RC_ERR_ACCESS_DENIED Not authorized. CMPI_RC_ERR_NOT_FOUND Instance not found.
CMPIStatus(* _CMPIAssociationMIFT::cleanup)(CMPIAssociationMI *mi, const CMPIContext *ctx, CMPIBoolean terminating)

Cleanup is called prior to unloading of the provider. This function shall perform any necessary cleanup operations prior to the unloading of the library of which this MI group is part.

Parameters:
mi This argument is a pointer to a CMPIAssociationMI structure.
ctx This argument is a pointer to a CMPIContext structure containing the Invocation Context.
terminating When true, the terminating argument indicates that the MB is in the process of terminating and that cleanup must be done. When set to false, the MI may respond with CMPI_IRC_DO_NOT_UNLOAD, or CMPI_IRC_NEVER_UNLOAD, indicating that unload will interfere with current MI processing.
Returns:
Function return status. The following CMPIrc codes shall be recognized: CMPI_RC_OK Operation successful. CMPI_RC_ERR_FAILED Unspecific error occurred. CMPI_RC_DO_NOT_UNLOAD Operation successful - do not unload now. CMPI_RC_NEVER_UNLOAD Operation successful - never unload.

Function table version.

Provider name.

Provider version.

CMPIStatus(* _CMPIAssociationMIFT::referenceNames)(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *resultClass, const char *role)

Enumerates the association ObjectPaths that refer to the instance defined by <op>.

Parameters:
mi Provider this pointer.
ctx Invocation Context
rslt Result data container.
op Source ObjectPath containing namespace, classname and key components.
resultClass If not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses).
role If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
Returns:
Function return status. The following CMPIrc codes shall be recognized: CMPI_RC_OK Operation successful. CMPI_RC_ERR_FAILED Unspecific error occurred. CMPI_RC_ERR_NOT_SUPPORTED Operation not supported by this MI. CMPI_RC_ERR_ACCESS_DENIED Not authorized. CMPI_RC_ERR_NOT_FOUND Instance not found.
CMPIStatus(* _CMPIAssociationMIFT::references)(CMPIAssociationMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char *resultClass, const char *role, const char **properties)

Enumerates the association instances that refer to the instance defined by <op>.

Parameters:
mi Provider this pointer.
ctx Invocation Context
rslt Result data container.
op Source ObjectPath containing namespace, classname and key components.
resultClass If not NULL, MUST be a valid Class name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be either an Instance of this Class (or one of its subclasses).
role If not NULL, MUST be a valid Property name. It acts as a filter on the returned set of Objects by mandating that each returned Object MUST be associated to the source Object via an Association in which the source Object plays the specified role (i.e. the name of the Property in the Association Class that refers to the source Object MUST match the value of this parameter).
properties If not NULL, the members of the array define one or more Property names. Each returned Object MUST NOT include elements for any Properties missing from this list
Returns:
Function return status. The following CMPIrc codes shall be recognized: CMPI_RC_OK Operation successful. CMPI_RC_ERR_FAILED Unspecific error occurred. CMPI_RC_ERR_NOT_SUPPORTED Operation not supported by this MI. CMPI_RC_ERR_ACCESS_DENIED Not authorized. CMPI_RC_ERR_NOT_FOUND Instance not found.

The documentation for this struct was generated from the following file:
  • /builddir/build/BUILD/pegasus/src/Pegasus/Provider/CMPI/cmpift.h