_CMPIPredicateFT Struct Reference
#include <cmpift.h>
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
CMPIPredicate*(* _CMPIPredicateFT::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.
CMPIBoolean(* _CMPIPredicateFT::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.
Function table version.
CMPIStatus(* _CMPIPredicateFT::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.
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.
The documentation for this struct was generated from the following file:
- /var/tmp/tog-pegasus-2.9.0-8m.mo8/pegasus/src/Pegasus/Provider/CMPI/cmpift.h