CMPI 2.1.0 API
|
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... | |
|
inlinestatic |
Get the predicate components of a CMPIPredicate object.
pr | CMPIPredicate object. | |
[out] | type | Data type of the predicate (suppressed when NULL). |
[out] | prop | Predicate operation (suppressed when NULL). |
[out] | lhs | Left-hand side of predicate (suppressed when NULL). |
[out] | rhs | Right-hand side of predicate (suppressed when NULL). |
|
inlinestatic |
Test whether the properties returned by an accessor function match the predicate in a CMPIPredicate object.
pr | CMPIPredicate object. | |
accessorFnc | Property value accessor function. | |
parm | A parameter that will be passed to the accessor function. | |
[out] | rc | Function return status (suppressed when NULL). |
true | The properties returned by the accessor function match the predicate. |
false | The properties returned by the accessor function do not match the predicate. |