_CMPIInstanceMIFT Struct Reference

This structure is a table of pointers providing access to Instance provider functions. More...

#include <cmpift.h>

Collaboration diagram for _CMPIInstanceMIFT:

Collaboration graph
[legend]
List of all members.

Public Attributes

int ftVersion
 Function table version.
int miVersion
 Provider version.
char * miName
 Provider name.
CMPIStatus(* cleanup )(CMPIInstanceMI *mi, const CMPIContext *ctx, CMPIBoolean terminating)
 Cleanup is called prior to unloading of the provider.
CMPIStatus(* enumInstanceNames )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op)
 Enumerate ObjectPaths of Instances serviced by this provider.
CMPIStatus(* enumInstances )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char **properties)
 Enumerate the Instances serviced by this provider.
CMPIStatus(* getInstance )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char **properties)
 Get the Instances defined by <op>.
CMPIStatus(* createInstance )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const CMPIInstance *inst)
 Create Instance from <inst> using <op> as reference.
CMPIStatus(* modifyInstance )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const CMPIInstance *inst, const char **properties)
 Replace an existing Instance from <inst> using <op> as reference.
CMPIStatus(* deleteInstance )(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op)
 Delete an existing Instance defined by <op>.
CMPIStatus(* execQuery )(CMPIInstanceMI *, const CMPIContext *, const CMPIResult *, const CMPIObjectPath *, const char *, const char *)
 Query the enumeration of instances of the class (and subclasses) defined by <op> using <query> expression.

Detailed Description

This structure is a table of pointers providing access to Instance provider functions.

This table must be returend during initialization by the provider.

Definition at line 2099 of file cmpift.h.


Member Data Documentation

CMPIStatus(* _CMPIInstanceMIFT::cleanup)(CMPIInstanceMI *mi, const CMPIContext *ctx, CMPIBoolean terminating)
 

Cleanup is called prior to unloading of the provider.

Parameters:
mi Provider this pointer.
ctx 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.

Referenced by OW_NAMESPACE::CMPIProviderIFC::doUnloadProviders(), and OW_NAMESPACE::CMPIProviderIFC::~CMPIProviderIFC().

CMPIStatus(* _CMPIInstanceMIFT::createInstance)(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const CMPIInstance *inst)
 

Create Instance from <inst> using <op> as reference.

Parameters:
mi Provider this pointer.
ctx Invocation Context.
rslt Result data container.
op ObjectPath containing namespace, classname and key components.
inst The Instance.
Returns:
Function return status.

CMPIStatus(* _CMPIInstanceMIFT::deleteInstance)(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op)
 

Delete an existing Instance defined by <op>.

Parameters:
mi Provider this pointer.
ctx Invocation Context.
rslt Result data container.
op ObjectPath containing namespace, classname and key components.
Returns:
Function return status.

CMPIStatus(* _CMPIInstanceMIFT::enumInstanceNames)(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op)
 

Enumerate ObjectPaths of Instances serviced by this provider.

Parameters:
mi Provider this pointer.
ctx Invocation Context.
rslt Result data container.
op ObjectPath containing namespace and classname components.
Returns:
Function return status.

CMPIStatus(* _CMPIInstanceMIFT::enumInstances)(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char **properties)
 

Enumerate the Instances serviced by this provider.

Parameters:
mi Provider this pointer.
ctx Invocation Context.
rslt Result data container.
op ObjectPath containing namespace and classname components.
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.

CMPIStatus(* _CMPIInstanceMIFT::execQuery)(CMPIInstanceMI *, const CMPIContext *, const CMPIResult *, const CMPIObjectPath *, const char *, const char *)
 

Query the enumeration of instances of the class (and subclasses) defined by <op> using <query> expression.

Parameters:
mi Provider this pointer.
ctx Context object
rslt Result data container.
op ObjectPath containing namespace and classname components.
query Query expression
lang Query language
Returns:
Function return status.

int _CMPIInstanceMIFT::ftVersion
 

Function table version.

Definition at line 2103 of file cmpift.h.

CMPIStatus(* _CMPIInstanceMIFT::getInstance)(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const char **properties)
 

Get the Instances defined by <op>.

Parameters:
mi Provider this pointer.
ctx Invocation Context.
rslt Result data container.
op ObjectPath containing namespace, classname and key components.
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.

char* _CMPIInstanceMIFT::miName
 

Provider name.

Definition at line 2111 of file cmpift.h.

int _CMPIInstanceMIFT::miVersion
 

Provider version.

Definition at line 2107 of file cmpift.h.

CMPIStatus(* _CMPIInstanceMIFT::modifyInstance)(CMPIInstanceMI *mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath *op, const CMPIInstance *inst, const char **properties)
 

Replace an existing Instance from <inst> using <op> as reference.

Parameters:
mi Provider this pointer.
ctx Invocation Context.
rslt Result data container.
op ObjectPath containing namespace, classname and key components.
inst The Instance.
properties If not NULL, the members of the array define one or more Property names. The process MUST NOT replace elements for any Properties missing from this list. If NULL all properties will be replaced.
Returns:
Function return status.


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