cmpi
Public Attributes | List of all members
_CMPISelectCondFT Struct Reference

#include <cmpi/cmpift.h>

Public Attributes

const int ftVersion
 
CMPIStatus(* release )(CMPISelectCond *sc)
 
CMPISelectCond *(* clone )(const CMPISelectCond *sc, CMPIStatus *rc)
 
CMPICount(* getCountAndType )(const CMPISelectCond *sc, int *type, CMPIStatus *rc)
 
CMPISubCond *(* getSubCondAt )(const CMPISelectCond *sc, CMPICount index, CMPIStatus *rc)
 

Detailed Description

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

Member Data Documentation

◆ clone

CMPISelectCond*(* _CMPISelectCondFT::clone) (const CMPISelectCond *sc, CMPIStatus *rc)

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

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

◆ ftVersion

const int _CMPISelectCondFT::ftVersion

Function table version

◆ getCountAndType

CMPICount(* _CMPISelectCondFT::getCountAndType) (const CMPISelectCond *sc, int *type, CMPIStatus *rc)

Return the number of sub conditions that are part of this SelectCond. Optionally, the SelectCond type (COD or DOC) will be returned.

Parameters
scSelectCond this pointer.
typeOutput: SelectCond type (suppressed when NULL).
rcOutput: Service return status (suppressed when NULL).
Returns
Number of SubCond elements.

◆ getSubCondAt

CMPISubCond*(* _CMPISelectCondFT::getSubCondAt) (const CMPISelectCond *sc, CMPICount index, CMPIStatus *rc)

Return a SubCond element based on its index.

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

◆ release

CMPIStatus(* _CMPISelectCondFT::release) (CMPISelectCond *sc)

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

Parameters
scSelectCond this pointer.
Returns
Service return status.

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