cmpi
CmpiStatus.h
Go to the documentation of this file.
1 /*
2  *
3  * $Id: CmpiStatus.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 Status Definitions
20  *
21  */
22 
23 #ifndef _CmpiStatus_h_
24 #define _CmpiStatus_h_
25 
26 #include "cmpidt.h"
27 #include "cmpift.h"
28 
29 #include "Linkage.h"
30 #include "CmpiBaseMI.h"
31 
36  friend class CmpiInstanceMI;
37  friend class CmpiMethodMI;
38  friend class CmpiBaseMI;
39  friend class CmpiAssociationMI;
40  friend class CmpiPropertyMI;
41  friend class CmpiIndicationMI;
42 protected:
43 
47 
50  CMPIStatus status() const;
51 
52 private:
53 
56  CmpiStatus();
57 
58 public:
59 
63  CmpiStatus(const CMPIStatus stat);
64 
68  CmpiStatus(const CMPIrc rc);
69 
74  CmpiStatus(const CMPIrc rcp, const char *msg);
75 
78  CMPIrc rc() const;
79 
82  const char* msg();
83 };
84 
85 #endif
86 
87 
88 
Definition: CmpiIndicationMI.h:41
Definition: CmpiInstanceMI.h:41
CMPIStatus st
Definition: CmpiStatus.h:46
Definition: CmpiBaseMI.h:39
Definition: CmpiStatus.h:35
Definition: CmpiMethodMI.h:41
Definition: cmpidt.h:511
Definition: CmpiAssociationMI.h:39
enum _CMPIrc CMPIrc
Definition: CmpiPropertyMI.h:40
#define CMPI_PROVIDER_LINKAGE
Definition: Linkage.h:28