|
cmpi
|
#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) |
This structure is a table of pointers providing access to Context support sevices.
| CMPIStatus(*) _CMPIContextFT::addEntry(const CMPIContext *ctx, const char *name, const CMPIValue *value, const CMPIType type) |
Adds/replaces a named Context entry.
| ctx | Context this pointer. |
| name | Entry name. |
| value | Address of value structure. |
| type | Value type. |
| CMPIContext *(*) _CMPIContextFT::clone(const CMPIContext *ctx, CMPIStatus *rc) |
Create an independent copy of the Context object.
| ctx | Context this pointer. |
| rc | Output: Service return status (suppressed when NULL). |
| int _CMPIContextFT::ftVersion |
Function table version
| CMPIData(*) _CMPIContextFT::getEntry(const CMPIContext *ctx, const char *name, CMPIStatus *rc) |
Gets a named Context entry value.
| ctx | Context this pointer. |
| name | Context entry name. |
| rc | Output: Service return status (suppressed when NULL). |
Referenced by CmpiContext::getEntry().
| CMPIData(*) _CMPIContextFT::getEntryAt(const CMPIContext *ctx, CMPICount index, CMPIString **name, CMPIStatus *rc) |
Gets a Context entry value defined by its index.
| 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). |
| CMPICount(*) _CMPIContextFT::getEntryCount(const CMPIContext *ctx, CMPIStatus *rc) |
Gets the number of entries contained in this Context.
| ctx | Context this pointer. |
| CMPIStatus(*) _CMPIContextFT::release(CMPIContext *ctx) |
The Context object will not be used any further and may be freed by CMPI run time system.
| ctx | Context this pointer. |