CmpiEnumeration.h

Go to the documentation of this file.
00001 
00002 /*
00003  *
00004  * CmpiEnumeration.h
00005  *
00006  * (C) Copyright IBM Corp. 2003
00007  *
00008  * THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE
00009  * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
00010  * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
00011  *
00012  * You can obtain a current copy of the Common Public License from
00013  * http://oss.software.ibm.com/developerworks/opensource/license-cpl.html
00014  *
00015  * Author:        Adrian Schuur <schuur@de.ibm.com>
00016  * Contributors:
00017  *
00018  * Description: CMPI C++ Instance wrapper
00019  *
00020  */
00021 
00022 #ifndef _CmpiEnumeration_h_
00023 #define _CmpiEnumeration_h_
00024 #include "OW_config.h"
00025 
00026 #include "cmpidt.h"
00027 #include "cmpift.h"
00028 
00029 #include "CmpiData.h"
00030 #include "CmpiObject.h"
00031 
00032 class CmpiObjectPath;
00033 
00038 class CmpiEnumeration : public CmpiObject {
00039    friend class CmpiBroker;
00040   protected:
00041 
00044    inline CmpiEnumeration(CMPIEnumeration* enc)
00045       { this->enc=enc; }
00046 
00049    inline CMPIEnumeration *getEnc() const
00050      { return (CMPIEnumeration*)enc; }
00051   private:
00052 
00055    CmpiEnumeration() {}
00056   public:
00057 
00060    CmpiData getNext();
00061 
00064    CmpiBoolean hasNext();
00065 
00068    CmpiData toArray();
00071    void toFirst();
00072 };
00073 
00074 #endif
00075 
00076 
00077 

Generated on Thu Feb 9 08:47:48 2006 for openwbem by  doxygen 1.4.6