CMPI 2.1.0 API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions

Functions

static CMPIStatus CMAddArg (const CMPIArgs *args, const char *name, const CMPIValue *value, const CMPIType type)
 Add or replace a method parameter in a CMPIArgs object. More...
 
static CMPIData CMGetArg (const CMPIArgs *args, const char *name, CMPIStatus *rc)
 Get a method parameter in a CMPIArgs object by name. More...
 
static CMPIData CMGetArgAt (const CMPIArgs *args, CMPICount index, CMPIString **name, CMPIStatus *rc)
 Get a method parameter in a CMPIArgs object by index. More...
 
static CMPICount CMGetArgCount (const CMPIArgs *args, CMPIStatus *rc)
 Get the number of method parameters in a CMPIArgs object. More...
 

Detailed Description

Function Documentation

static CMPIStatus CMAddArg ( const CMPIArgs args,
const char *  name,
const CMPIValue value,
const CMPIType  type 
)
inlinestatic

Add or replace a method parameter in a CMPIArgs object.

Parameters
argsCMPIArgs object.
nameName of the method parameter.
valueCMPIValue structure containing the non-NULL value to be assigned to the element, or NULL to assign NULL.
typeType of the value.
Returns
Function return status.
Full Description
CMPIArgsFT.addArg()
Status for OpenPegasus:
Used and tested
static CMPIData CMGetArg ( const CMPIArgs args,
const char *  name,
CMPIStatus rc 
)
inlinestatic

Get a method parameter in a CMPIArgs object by name.

Parameters
argsCMPIArgs object.
nameName of the method parameter.
[out]rcFunction return status (suppressed when NULL).
Returns
Method parameter value and type.
Full Description
CMPIArgsFT.getArg()
Status for OpenPegasus:
Used
static CMPIData CMGetArgAt ( const CMPIArgs args,
CMPICount  index,
CMPIString **  name,
CMPIStatus rc 
)
inlinestatic

Get a method parameter in a CMPIArgs object by index.

Parameters
argsCMPIArgs object.
indexZero-based position of the method parameter in the internal data array.
[out]nameName of the returned method parameter (suppressed when NULL).
[out]rcFunction return status (suppressed when NULL).
Returns
Method parameter value and type.
Full Description
CMPIArgsFT.getArgAt()
Status for OpenPegasus:
Used
static CMPICount CMGetArgCount ( const CMPIArgs args,
CMPIStatus rc 
)
inlinestatic

Get the number of method parameters in a CMPIArgs object.

Parameters
argsCMPIArgs object.
[out]rcFunction return status (suppressed when NULL).
Returns
Number of method parameters.
Full Description
CMPIArgsFT.getArgCount()
Status for OpenPegasus:
Used