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

Functions

static CMPICount CMGetSubCondCountAndType (const CMPISelectCond *sc, int *type, CMPIStatus *rc)
 Get the number and type of subconditions in a CMPISelectCond object. More...
 
static CMPISubCondCMGetSubCondAt (const CMPISelectCond *sc, CMPICount index, CMPIStatus *rc)
 Get a subcondition in a CMPISelectCond object by index. More...
 

Detailed Description

Function Documentation

static CMPICount CMGetSubCondCountAndType ( const CMPISelectCond sc,
int *  type,
CMPIStatus rc 
)
inlinestatic

Get the number and type of subconditions in a CMPISelectCond object.

Optionally, the subcondition type (COD or DOC) will be returned.

Parameters
scSelectCond object.
[out]typeSubcondition type (suppressed when NULL). A value of 0 indicates a DOC type, and a value of 1 indicates a COD type.
[out]rcFunction return status (suppressed when NULL).
Returns
Number of subconditions.
Full Description
CMPISelectCondFT.getCountAndType()
Status for OpenPegasus:
Tested
static CMPISubCond* CMGetSubCondAt ( const CMPISelectCond sc,
CMPICount  index,
CMPIStatus rc 
)
inlinestatic

Get a subcondition in a CMPISelectCond object by index.

Parameters
scSelectCond object.
indexZero-based position of the subcondition in the internal data array.
[out]rcFunction return status (suppressed when NULL).
Returns
The subcondition.
Full Description
CMPISelectCondFT.getSubCondAt()
Status for OpenPegasus:
Tested