cmpi
Public Attributes | List of all members
_CMPIPredicateFT Struct Reference

#include <cmpi/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

◆ clone

CMPIPredicate*(* _CMPIPredicateFT::clone) (const CMPIPredicate *pr, CMPIStatus *rc)

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.

◆ evaluateUsingAccessor

CMPIBoolean(* _CMPIPredicateFT::evaluateUsingAccessor) (const CMPIPredicate *pr, CMPIAccessor *accessorFnc, void *parm, CMPIStatus *rc)

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.

◆ ftVersion

int _CMPIPredicateFT::ftVersion

Function table version

◆ getData

CMPIStatus(* _CMPIPredicateFT::getData) (const CMPIPredicate *pr, CMPIType *type, CMPIPredOp *op, CMPIString **lhs, CMPIString **rhs)

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.

◆ release

CMPIStatus(* _CMPIPredicateFT::release) (CMPIPredicate *pr)

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: