CmpiEnumeration Class Reference

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

#include <CmpiEnumeration.h>

Inheritance diagram for CmpiEnumeration:

Inheritance graph
[legend]
Collaboration diagram for CmpiEnumeration:

Collaboration graph
[legend]
List of all members.

Public Member Functions

CmpiData getNext ()
 getNext - Gets next entry.
CMPIBoolean hasNext ()
 getNext - Check for at least one remaining entry.
CmpiData toArray ()
 toArray - Convert an Enumeration to an Array
void toFirst ()
 toFirst - Goto to begin of list

Protected Member Functions

 CmpiEnumeration (CMPIEnumeration *enc)
 Protected constructor used by MIDrivers to encapsulate CMPIEnumeration.
CMPIEnumerationgetEnc () const
 getEnc - Gets the encapsulated CMPIEnumeration.

Private Member Functions

 CmpiEnumeration ()
 Constructor - Should not be called.

Friends

class CmpiBroker

Detailed Description

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

Definition at line 38 of file CmpiEnumeration.h.


Constructor & Destructor Documentation

CmpiEnumeration::CmpiEnumeration CMPIEnumeration enc  )  [inline, protected]
 

Protected constructor used by MIDrivers to encapsulate CMPIEnumeration.

Definition at line 44 of file CmpiEnumeration.h.

References CmpiObject::enc.

CmpiEnumeration::CmpiEnumeration  )  [inline, private]
 

Constructor - Should not be called.

Definition at line 55 of file CmpiEnumeration.h.


Member Function Documentation

CMPIEnumeration* CmpiEnumeration::getEnc  )  const [inline, protected]
 

getEnc - Gets the encapsulated CMPIEnumeration.

Definition at line 49 of file CmpiEnumeration.h.

References CmpiObject::enc.

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

CmpiData CmpiEnumeration::getNext  ) 
 

getNext - Gets next entry.

Definition at line 1234 of file CmpiImpl.cpp.

References CMPI_RC_OK, _CMPIEnumeration::ft, getEnc(), _CMPIEnumerationFT::getNext, and _CMPIStatus::rc.

CMPIBoolean CmpiEnumeration::hasNext  ) 
 

getNext - Check for at least one remaining entry.

Definition at line 1226 of file CmpiImpl.cpp.

References CMPI_RC_OK, CmpiBoolean, _CMPIEnumeration::ft, getEnc(), _CMPIEnumerationFT::hasNext, and _CMPIStatus::rc.

CmpiData CmpiEnumeration::toArray  ) 
 

toArray - Convert an Enumeration to an Array

void CmpiEnumeration::toFirst  ) 
 

toFirst - Goto to begin of list

Definition at line 1242 of file CmpiImpl.cpp.

References CMPI_InstEnumeration_Ftab, CMPI_ObjEnumeration_Ftab, CMPI_RC_OK, CMPI_OpEnumeration::cursor, CMPI_InstEnumeration::cursor, CMPI_ObjEnumeration::cursor, and getEnc().


Friends And Related Function Documentation

friend class CmpiBroker [friend]
 

Reimplemented from CmpiObject.

Definition at line 39 of file CmpiEnumeration.h.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:12:06 2006 for openwbem by  doxygen 1.4.6