CmpiContext.h

Go to the documentation of this file.
00001 
00002 /*
00003  *
00004  * CmpiContext.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++ context provider wrapper
00019  *
00020  */
00021 
00022 #ifndef _CmpiContext_h_
00023 #define _CmpiContext_h_
00024 #include "OW_config.h"
00025 
00026 #include "cmpidt.h"
00027 #include "cmpift.h"
00028 
00029 #include "CmpiObject.h"
00030 #include "CmpiData.h"
00031 
00035 class CmpiContext : public CmpiObject {
00036    friend class CmpiBroker;
00037    friend class CmpiInstanceMI;
00038    friend class CmpiMethodMI;
00039    friend class CmpiAssociationMI;
00040    friend class CmpiPropertyMI;
00041    friend class CmpiIndicationMI;
00042   private:
00043   protected:
00044 
00047    CmpiContext() {}
00048 
00051    inline CMPIContext *getEnc() const
00052       { return (CMPIContext*)enc; }
00053   public:
00054 
00057    inline CmpiContext(CMPIContext* c)
00058       : CmpiObject((void*)c) {}
00059 
00062    static const char* invocationFlags;
00063 
00066   CmpiData getEntry(const char* name);
00067 };
00068 
00069 #endif
00070 
00071 
00072 

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