struct _CMPIArgsFT

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

Documentation

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

[more]int ftVersion
Function table version
[more]CMPIStatus (*release)(CMPIArgs* as)
The Args object will not be used any further and may be freed by CMPI run time system.
[more]CMPIArgs* (*clone)(const CMPIArgs* as, CMPIStatus* rc)
Create an independent copy of this Args object.
[more]CMPIStatus (*addArg)(const CMPIArgs* as, const char* name, const CMPIValue* value, const CMPIType type)
Adds/replaces a named argument.
[more]CMPIData (*getArg)(const CMPIArgs* as, const char* name, CMPIStatus* rc)
Gets a named argument value.
[more]CMPIData (*getArgAt)(const CMPIArgs* as, CMPICount index, CMPIString** name, CMPIStatus* rc)
Gets a Argument value defined by its index.
[more]CMPICount (*getArgCount)(const CMPIArgs* as, CMPIStatus* rc)
Gets the number of arguments contained in this Args.

oint ftVersion
Function table version

oCMPIStatus (*release)(CMPIArgs* as)
The Args object will not be used any further and may be freed by CMPI run time system.
Parameters:
as - Args this pointer.
Returns:
Service return status.

oCMPIArgs* (*clone)(const CMPIArgs* as, CMPIStatus* rc)
Create an independent copy of this Args object. The resulting object must be released explicitly.
Parameters:
as - Args this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
Pointer to copied Args object.

oCMPIStatus (*addArg)(const CMPIArgs* as, const char* name, const CMPIValue* value, const CMPIType type)
Adds/replaces a named argument.
Parameters:
as - Args this pointer.
name - Argument name.
- value Address of value structure.
- type Value type.
Returns:
Service return status.

oCMPIData (*getArg)(const CMPIArgs* as, const char* name, CMPIStatus* rc)
Gets a named argument value.
Parameters:
as - Args this pointer.
name - Argument name.
- rc Output: Service return status (suppressed when NULL).
Returns:
Argument value.

oCMPIData (*getArgAt)(const CMPIArgs* as, CMPICount index, CMPIString** name, CMPIStatus* rc)
Gets a Argument value defined by its index.
Parameters:
as - Args this pointer.
index - Position in the internal Data array.
name - Output: Returned argument name (suppressed when NULL).
- rc Output: Service return status (suppressed when NULL).
Returns:
Argument value.

oCMPICount (*getArgCount)(const CMPIArgs* as, CMPIStatus* rc)
Gets the number of arguments contained in this Args.
Parameters:
as - Args this pointer.
- rc Output: Service return status (suppressed when NULL).
Returns:
Number of properties.

Alphabetic index