CmpiEnumeration Class Reference

#include <cmpi/CmpiEnumeration.h>

Inheritance diagram for CmpiEnumeration:
CmpiObject

List of all members.

Public Member Functions

CmpiData getNext ()
CmpiBoolean hasNext ()
CmpiData toArray ()

Protected Member Functions

 CmpiEnumeration (CMPIEnumeration *enc)
CMPIEnumerationgetEnc () const

Private Member Functions

 CmpiEnumeration ()

Friends

class CmpiBroker

Detailed Description

This class acts as a container for holding results from enunmerating CmpiBroker services.


Constructor & Destructor Documentation

CmpiEnumeration::CmpiEnumeration ( CMPIEnumeration enc  )  [protected]

Protected constructor used by MIDrivers to encapsulate CMPIEnumeration.

CmpiEnumeration::CmpiEnumeration (  )  [private]

Constructor - Should not be called


Member Function Documentation

CMPIEnumeration * CmpiEnumeration::getEnc (  )  const [protected]

getEnc - Gets the encapsulated CMPIEnumeration.

References CmpiObject::enc.

Referenced by getNext(), hasNext(), and toArray().

CmpiData CmpiEnumeration::getNext (  ) 
CmpiBoolean CmpiEnumeration::hasNext (  ) 

getNext - Check for at least one remaining entry.

References CMPI_RC_OK, _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.


Friends And Related Function Documentation

friend class CmpiBroker [friend]

Reimplemented from CmpiObject.


The documentation for this class was generated from the following files:
Generated on Mon Jul 5 13:09:52 2010 for cmpi by  doxygen 1.6.3