cmpi
Public Attributes | List of all members
_CMPIContextFT Struct Reference

#include <cmpi/cmpift.h>

Public Attributes

int ftVersion
 
CMPIStatus(* release )(CMPIContext *ctx)
 
CMPIContext *(* clone )(const CMPIContext *ctx, CMPIStatus *rc)
 
CMPIData(* getEntry )(const CMPIContext *ctx, const char *name, CMPIStatus *rc)
 
CMPIData(* getEntryAt )(const CMPIContext *ctx, CMPICount index, CMPIString **name, CMPIStatus *rc)
 
CMPICount(* getEntryCount )(const CMPIContext *ctx, CMPIStatus *rc)
 
CMPIStatus(* addEntry )(const CMPIContext *ctx, const char *name, const CMPIValue *value, const CMPIType type)
 

Detailed Description

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

Member Data Documentation

◆ addEntry

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

Adds/replaces a named Context entry.

Parameters
ctxContext this pointer.
nameEntry name.
valueAddress of value structure.
typeValue type.
Returns
Service return status.

◆ clone

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

Create an independent copy of the Context object.

Parameters
ctxContext this pointer.
rcOutput: Service return status (suppressed when NULL).
Returns
Pointer to copied Context object.

◆ ftVersion

int _CMPIContextFT::ftVersion

Function table version

◆ getEntry

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

Gets a named Context entry value.

Parameters
ctxContext this pointer.
nameContext entry name.
rcOutput: Service return status (suppressed when NULL).
Returns
Entry value.

Referenced by CmpiContext::getEntry().

◆ getEntryAt

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

Gets a Context entry value defined by its index.

Parameters
ctxContext this pointer.
indexPosition in the internal Data array.
nameOutput: Returned Context entry name (suppressed when NULL).
rcOutput: Service return status (suppressed when NULL).
Returns
Entry value.

◆ getEntryCount

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

Gets the number of entries contained in this Context.

Parameters
ctxContext this pointer.
Returns
Number of entries.

◆ release

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

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

Parameters
ctxContext this pointer.
Returns
Service return status.

The documentation for this struct was generated from the following file: