_CMPISelectCondFT Struct Reference
#include <cmpift.h>
Public Attributes
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
sc SelectCond this pointer. rc Output: Service return status (suppressed when NULL).
- Returns
- Pointer to copied SelectExp object.
◆ ftVersion
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
sc SelectCond this pointer. type Output: SelectCond type (suppressed when NULL). rc Output: 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
sc SelectCond this pointer. index Position in the internal SubCoind array. rc Output: 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
sc SelectCond this pointer.
- Returns
- Service return status.
The documentation for this struct was generated from the following file:
- /home/loongson/rpmbuild/BUILD/pegasus/src/Pegasus/Provider/CMPI/cmpift.h