|
CMPI 2.1.0 API
|
Functions | |
| static CMPIData | CMGetProperty (const CMPIInstance *inst, const char *name, CMPIStatus *rc) |
| Get a property in a CMPIInstance object by name. More... | |
| static CMPIData | CMGetPropertyAt (const CMPIInstance *inst, CMPICount index, CMPIString **name, CMPIStatus *rc) |
| Get a property in a CMPIInstance object by index. More... | |
| static CMPICount | CMGetPropertyCount (const CMPIInstance *inst, CMPIStatus *rc) |
| Get the number of properties in a CMPIInstance object. More... | |
| static CMPIStatus | CMSetProperty (const CMPIInstance *inst, const char *name, const CMPIValue *value, const CMPIType type) |
| Add or replace a property value in a CMPIInstance object by name. More... | |
| static CMPIObjectPath * | CMGetObjectPath (const CMPIInstance *inst, CMPIStatus *rc) |
| Get the instance path component of a CMPIInstance object. More... | |
| static CMPIStatus | CMSetPropertyFilter (const CMPIInstance *inst, const char **properties, const char **keyList) |
| Attach a property filter to a CMPIInstance object. More... | |
| static CMPIStatus | CMSetObjectPath (const CMPIInstance *inst, const CMPIObjectPath *op) |
| Set the instance path component of a CMPIInstance object. More... | |
| static CMPIStatus | CMSetPropertyWithOrigin (const CMPIInstance *inst, const char *name, const CMPIValue *value, CMPIType type, const char *origin) |
| Add or replace a property value and class origin in a CMPIInstance object by name. More... | |
|
inlinestatic |
Get a property in a CMPIInstance object by name.
| inst | CMPIInstance object. | |
| name | Name of the property. | |
| [out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Get a property in a CMPIInstance object by index.
| inst | CMPIInstance object. | |
| index | Zero-based position of the property in the internal data array. | |
| [out] | name | Name of the returned property (suppressed when NULL). |
| [out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Get the number of properties in a CMPIInstance object.
| inst | CMPIInstance object. | |
| [out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Add or replace a property value in a CMPIInstance object by name.
| inst | CMPIInstance object. |
| name | Name of the property. |
| value | CMPIValue structure containing the non-NULL value to be assigned to the element, or NULL to assign NULL. |
| type | Type of the value. |
|
inlinestatic |
Get the instance path component of a CMPIInstance object.
| inst | CMPIInstance object. | |
| [out] | rc | Function return status (suppressed when NULL). |
|
inlinestatic |
Attach a property filter to a CMPIInstance object.
| inst | CMPIInstance object. |
| properties | If not NULL, the members of the array define one or more property names to be accepted by subsequent setProperty() function calls. |
| keyList | Deprecated, ignored by MB, maintained here for compatibility. |
|
inlinestatic |
Set the instance path component of a CMPIInstance object.
| inst | CMPIInstance object. |
| op | New instance path. |
|
inlinestatic |
Add or replace a property value and class origin in a CMPIInstance object by name.
| inst | CMPIInstance object. |
| name | Name of the property. |
| value | CMPIValue structure containing the non-NULL value to be assigned to the element, or NULL to assign NULL. |
| type | Type of the value. |
| origin | Class origin of the property. If NULL, no class origin is attached to the property. |
1.8.6