cmpi
Public Attributes

_CMPIPredicateFT Struct Reference

#include <cmpi/cmpift.h>

List of all members.

Public Attributes

int ftVersion
CMPIStatus(* release )(CMPIPredicate *pr)
CMPIPredicate *(* clone )(const CMPIPredicate *pr, CMPIStatus *rc)
CMPIStatus(* getData )(const CMPIPredicate *pr, CMPIType *type, CMPIPredOp *op, CMPIString **lhs, CMPIString **rhs)
CMPIBoolean(* evaluateUsingAccessor )(const CMPIPredicate *pr, CMPIAccessor *accessorFnc, void *parm, CMPIStatus *rc)

Detailed Description

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


Member Data Documentation

Create an independent copy of this Predicate object. The resulting object must be released explicitly.

Parameters:
prPredicate this pointer.
rcOutput: Service return status (suppressed when NULL).
Returns:
Pointer to copied Predicate object.

Evaluate the predicate using a property data accessor function.

Parameters:
prPredicate this pointer.
accessorFncPointer 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);
parmParameter that will be passed to the accessor function and can be used for providing context data to the accessor function.
rcOutput: Service return status (suppressed when NULL).
Returns:
Evaluation result.

Function table version

Get the predicate components.

Parameters:
prPredicate this pointer.
typeProperty type.
opPredicate operation.
lhsLeft hand side of predicate.
rhsRight hand side of predicate.
Returns:
Service return status.

The Predicate object will not be used any further and may be freed by CMPI run time system.

Parameters:
prPredicate this pointer.
Returns:
Service return status.

The documentation for this struct was generated from the following file: