struct _CMPIPredicateFT

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

Documentation

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

[more]int ftVersion
Function table version
[more]CMPIStatus (*release)(CMPIPredicate* pr)
The Predicate object will not be used any further and may be freed by CMPI run time system.
[more]CMPIPredicate* (*clone)(const CMPIPredicate* pr, CMPIStatus* rc)
Create an independent copy of this Predicate object.
[more]CMPIStatus (*getData)(const CMPIPredicate* pr, CMPIType* type, CMPIPredOp* op, CMPIString** lhs, CMPIString** rhs)
Get the predicate components.
[more]CMPIBoolean (*evaluateUsingAccessor)(const CMPIPredicate* pr, CMPIAccessor* accessorFnc, void* parm, CMPIStatus* rc)
Evaluate the predicate using a property data accessor function.

oint ftVersion
Function table version

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

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

oCMPIStatus (*getData)(const CMPIPredicate* pr, CMPIType* type, CMPIPredOp* op, CMPIString** lhs, CMPIString** rhs)
Get the predicate components.
Parameters:
pr - Predicate this pointer.
- type Property type.
op - Predicate operation.
lhs - Left hand side of predicate.
rhs - Right hand side of predicate.
Returns:
Service return status.

oCMPIBoolean (*evaluateUsingAccessor)(const CMPIPredicate* pr, CMPIAccessor* accessorFnc, void* parm, CMPIStatus* rc)
Evaluate the predicate using a property data accessor function.
Parameters:
pr - Predicate this pointer.
accessorFnc - Pointer to a property value accessor function. The evaluation process will invoke this function to request a CMPIData structure for a particular property. The signature of the accessor function is: CMPIData CMPIAccessor(const char* propertyName, void* parm);
parm - Parameter that will be passed to the accessor function and can be used for providing context data to the accessor function.
- rc Output: Service return status (suppressed when NULL).
Returns:
Evaluation result.

Alphabetic index