cmpi/CmpiResult.h

Go to the documentation of this file.
00001 /*
00002  *
00003  * $Id: CmpiResult.h,v 1.3 2008/07/09 19:36:59 tyreld Exp $
00004  *
00005  * (C) Copyright IBM Corp. 2003, 2005, 2008
00006  *
00007  * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
00008  * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
00009  * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
00010  *
00011  * You can obtain a current copy of the Eclipse Public License from
00012  * http://www.opensource.org/licenses/eclipse-1.0.txt
00013  *
00014  * Author:        Adrian Schuur <schuur@de.ibm.com>
00015  * Contributors:  Heidi Neumann, heidineu@de.ibm.com
00016  *                Angel Nunez Mencias, anunez@de.ibm.com
00017  *                Viktor Mihajlovski, mihajlov@de.ibm.com
00018  *
00019  * Description: CMPI Result Handler Definitions
00020  *
00021  */
00022 
00023 #ifndef _CmpiResult_h_
00024 #define _CmpiResult_h_
00025 
00026 #include "cmpidt.h"
00027 #include "cmpift.h"
00028 
00029 #include "Linkage.h"
00030 #include "CmpiObject.h"
00031 #include "CmpiStatus.h"
00032 #include "CmpiData.h"
00033 #include "CmpiInstance.h"
00034 #include "CmpiObjectPath.h"
00035 
00036 
00040 class CMPI_PROVIDER_LINKAGE CmpiResult : public CmpiObject{
00041    friend class CmpiInstanceMI;
00042    friend class CmpiAssociationMI;
00043    friend class CmpiMethodMI;
00044    friend class CmpiPropertyMI;
00045    friend class CmpiIndicationMI;
00046 private:
00047 
00050    CmpiResult();
00051 protected:
00052 
00055    CmpiResult(CMPIResult* r);
00056 
00059   CMPIResult *getEnc() const;
00060   
00061 public:
00062 
00065    void returnData(const CmpiData& d);
00066 
00069    void returnData(const CmpiInstance& d);
00070 
00073    void returnData(const CmpiObjectPath& d);
00074 
00077    void returnDone();
00078 };
00079 
00080 #endif
00081 
00082 

Generated on Sat Feb 26 13:04:34 2022 for cmpi by  doxygen 1.4.6