cmpi
Public Attributes | List of all members
_CMPISubCondFT Struct Reference

#include <cmpi/cmpift.h>

Public Attributes

int ftVersion
 
CMPIStatus(* release )(CMPISubCond *sc)
 
CMPISubCond *(* clone )(const CMPISubCond *sc, CMPIStatus *rc)
 
CMPICount(* getCount )(const CMPISubCond *sc, CMPIStatus *rc)
 
CMPIPredicate *(* getPredicateAt )(const CMPISubCond *sc, CMPICount index, CMPIStatus *rc)
 
CMPIPredicate *(* getPredicate )(const CMPISubCond *sc, const char *name, CMPIStatus *rc)
 

Detailed Description

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

Member Data Documentation

◆ clone

CMPISubCond*(* _CMPISubCondFT::clone) (const CMPISubCond *sc, CMPIStatus *rc)

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

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

◆ ftVersion

int _CMPISubCondFT::ftVersion

Function table version

◆ getCount

CMPICount(* _CMPISubCondFT::getCount) (const CMPISubCond *sc, CMPIStatus *rc)

Return the number of predicates that are part of sub condition.

Parameters
scSubCond this pointer.
rcOutput: Service return status (suppressed when NULL).
Returns
Number of Predicate elements.

◆ getPredicate

CMPIPredicate*(* _CMPISubCondFT::getPredicate) (const CMPISubCond *sc, const char *name, CMPIStatus *rc)

Return a named Predicate element.

Parameters
scSubCond this pointer.
namePredicate name (property name).
rcOutput: Service return status (suppressed when NULL).
Returns
The named Predicate element.

◆ getPredicateAt

CMPIPredicate*(* _CMPISubCondFT::getPredicateAt) (const CMPISubCond *sc, CMPICount index, CMPIStatus *rc)

Return a Predicate element based on its index.

Parameters
scSubCond this pointer.
indexPosition in the internal Predicate array.
rcOutput: Service return status (suppressed when NULL).
Returns
The indexed Predicate element.

◆ release

CMPIStatus(* _CMPISubCondFT::release) (CMPISubCond *sc)

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

Parameters
scSubCond this pointer.
Returns
Service return status.

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