cmpi
CmpiEnumeration.h
Go to the documentation of this file.
1 /*
2  *
3  * $Id: CmpiEnumeration.h,v 1.3 2008/07/09 19:36:59 tyreld Exp $
4  *
5  * (C) Copyright IBM Corp. 2003, 2005, 2008
6  *
7  * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
8  * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
9  * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
10  *
11  * You can obtain a current copy of the Eclipse Public License from
12  * http://www.opensource.org/licenses/eclipse-1.0.txt
13  *
14  * Author: Adrian Schuur <schuur@de.ibm.com>
15  * Contributors: Heidi Neumann, heidineu@de.ibm.com
16  * Angel Nunez Mencias, anunez@de.ibm.com
17  * Viktor Mihajlovski, mihajlov@de.ibm.com
18  *
19  * Description: CMPI Enumeration Definitions
20  *
21  */
22 
23 #ifndef _CmpiEnumeration_h_
24 #define _CmpiEnumeration_h_
25 
26 #include "cmpidt.h"
27 #include "cmpift.h"
28 
29 #include "Linkage.h"
30 #include "CmpiObject.h"
31 #include "CmpiStatus.h"
32 #include "CmpiObjectPath.h"
33 #include "CmpiBroker.h"
34 
35 class CmpiObjectPath;
36 class CmpiData;
37 
43  friend class CmpiBroker;
44 protected:
45 
49 
52  CMPIEnumeration *getEnc() const;
53 
54 private:
55 
59 
60 public:
61 
64  CmpiData getNext();
65 
68  CmpiBoolean hasNext();
69 
72  CmpiData toArray();
73 };
74 
75 #endif
76 
77 
78 
Definition: cmpift.h:2322
Definition: CmpiBroker.h:46
Definition: CmpiEnumeration.h:42
void * enc
Definition: CmpiObject.h:49
Definition: CmpiData.h:52
#define CmpiBoolean
Definition: CmpiObject.h:30
Definition: CmpiObjectPath.h:42
CMPIBroker * getEnc() const
Definition: CmpiImpl.cpp:1392
Definition: CmpiObject.h:42
#define CMPI_PROVIDER_LINKAGE
Definition: Linkage.h:28