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

Functions

static CMPIStatus CMGetPredicateData (const CMPIPredicate *pr, CMPIType *type, CMPIPredOp *prop, CMPIString **lhs, CMPIString **rhs)
 Get the predicate components of a CMPIPredicate object. More...
 
static CMPIBoolean CMEvaluatePredicateUsingAccessor (const CMPIPredicate *pr, const CMPIAccessor *accessorFnc, void *parm, CMPIStatus *rc)
 Test whether the properties returned by an accessor function match the predicate in a CMPIPredicate object. More...
 

Detailed Description

Function Documentation

static CMPIStatus CMGetPredicateData ( const CMPIPredicate pr,
CMPIType type,
CMPIPredOp prop,
CMPIString **  lhs,
CMPIString **  rhs 
)
inlinestatic

Get the predicate components of a CMPIPredicate object.

Parameters
prCMPIPredicate object.
[out]typeData type of the predicate (suppressed when NULL).
[out]propPredicate operation (suppressed when NULL).
[out]lhsLeft-hand side of predicate (suppressed when NULL).
[out]rhsRight-hand side of predicate (suppressed when NULL).
Returns
Function return status.
Full Description
CMPIPredicateFT.getData()
Status for OpenPegasus:
Tested
static CMPIBoolean CMEvaluatePredicateUsingAccessor ( const CMPIPredicate pr,
const CMPIAccessor accessorFnc,
void *  parm,
CMPIStatus rc 
)
inlinestatic

Test whether the properties returned by an accessor function match the predicate in a CMPIPredicate object.

Parameters
prCMPIPredicate object.
accessorFncProperty value accessor function.
parmA parameter that will be passed to the accessor function.
[out]rcFunction return status (suppressed when NULL).
Return values
trueThe properties returned by the accessor function match the predicate.
falseThe properties returned by the accessor function do not match the predicate.
Full Description
CMPIPredicateFT.evaluateUsingAccessor()
Change:
In CMPI 2.1, the return type of this function has been changed from int to CMPIBoolean.
Status for OpenPegasus:
TBD