_CMPIContextFT Struct Reference

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

#include <cmpift.h>

Collaboration diagram for _CMPIContextFT:

Collaboration graph
[legend]
List of all members.

Public Attributes

int ftVersion
 Function table version.
CMPIStatus(* release )(CMPIContext *ctx)
 The Context object will not be used any further and may be freed by CMPI run time system.
CMPIContext *(* clone )(const CMPIContext *ctx, CMPIStatus *rc)
 Create an independent copy of the Context object.
CMPIData(* getEntry )(const CMPIContext *ctx, const char *name, CMPIStatus *rc)
 Gets a named Context entry value.
CMPIData(* getEntryAt )(const CMPIContext *ctx, unsigned int index, CMPIString **name, CMPIStatus *rc)
 Gets a Context entry value defined by its index.
unsigned int(* getEntryCount )(const CMPIContext *ctx, CMPIStatus *rc)
 Gets the number of entries contained in this Context.
CMPIStatus(* addEntry )(const CMPIContext *ctx, const char *name, const CMPIValue *value, const CMPIType type)
 adds/replaces a named Context entry

Detailed Description

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

Definition at line 674 of file cmpift.h.


Member Data Documentation

CMPIStatus(* _CMPIContextFT::addEntry)(const CMPIContext *ctx, const char *name, const CMPIValue *value, const CMPIType type)
 

adds/replaces a named Context entry

Parameters:
ctx Context this pointer.
name Entry name.
value Address of value structure.
type Value type.
Returns:
Service return status.

CMPIContext*(* _CMPIContextFT::clone)(const CMPIContext *ctx, CMPIStatus *rc)
 

Create an independent copy of the Context object.

Parameters:
ctx Context this pointer.
rc Output: Service return status (suppressed when NULL).
Returns:
Pointer to copied Context object.

int _CMPIContextFT::ftVersion
 

Function table version.

Definition at line 678 of file cmpift.h.

CMPIData(* _CMPIContextFT::getEntry)(const CMPIContext *ctx, const char *name, CMPIStatus *rc)
 

Gets a named Context entry value.

Parameters:
ctx Context this pointer.
name Context entry name.
rc Output: Service return status (suppressed when NULL).
Returns:
Entry value.

Referenced by CmpiContext::getEntry(), mbAssociators(), mbEnumInstances(), mbGetInstance(), mbModifyInstance(), mbReferences(), and resultReturnInstance().

CMPIData(* _CMPIContextFT::getEntryAt)(const CMPIContext *ctx, unsigned int index, CMPIString **name, CMPIStatus *rc)
 

Gets a Context entry value defined by its index.

Parameters:
ctx Context this pointer.
index Position in the internal Data array.
name Output: Returned Context entry name (suppressed when NULL).
rc Output: Service return status (suppressed when NULL).
Returns:
Entry value.

unsigned int(* _CMPIContextFT::getEntryCount)(const CMPIContext *ctx, CMPIStatus *rc)
 

Gets the number of entries contained in this Context.

Parameters:
ctx Context this pointer.
Returns:
Number of entries.

CMPIStatus(* _CMPIContextFT::release)(CMPIContext *ctx)
 

The Context object will not be used any further and may be freed by CMPI run time system.

Parameters:
ctx Context this pointer.
Returns:
Service return status.


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