cmpi
|
#include <cmpi/CmpiEnumeration.h>
Public Member Functions | |
CmpiData | getNext () |
CmpiBoolean | hasNext () |
CmpiData | toArray () |
Protected Member Functions | |
CmpiEnumeration (CMPIEnumeration *enc) | |
CMPIEnumeration * | getEnc () const |
Private Member Functions | |
CmpiEnumeration () | |
Friends | |
class | CmpiBroker |
This class acts as a container for holding results from enunmerating CmpiBroker services.
CmpiEnumeration::CmpiEnumeration | ( | CMPIEnumeration * | enc | ) | [protected] |
Protected constructor used by MIDrivers to encapsulate CMPIEnumeration.
References CmpiObject::enc.
CmpiEnumeration::CmpiEnumeration | ( | ) | [private] |
Constructor - Should not be called
CMPIEnumeration * CmpiEnumeration::getEnc | ( | ) | const [protected] |
getEnc - Gets the encapsulated CMPIEnumeration.
References CmpiObject::enc.
CmpiData CmpiEnumeration::getNext | ( | ) |
getNext - Gets next entry.
References CMPI_RC_OK, _CMPIEnumeration::ft, getEnc(), _CMPIEnumerationFT::getNext, and _CMPIStatus::rc.
CmpiBoolean CmpiEnumeration::hasNext | ( | ) |
getNext - Check for at least one remaining entry.
References CMPI_RC_OK, CmpiBoolean, _CMPIEnumeration::ft, getEnc(), _CMPIEnumerationFT::hasNext, and _CMPIStatus::rc.
CmpiData CmpiEnumeration::toArray | ( | ) |
toArray - Convert an Enumeration to an Array
References CMPI_RC_OK, CmpiArrayIdx::CmpiArray, _CMPIEnumeration::ft, getEnc(), _CMPIStatus::rc, and _CMPIEnumerationFT::toArray.
friend class CmpiBroker [friend] |
Reimplemented from CmpiObject.