cmpi
|
00001 /* 00002 * 00003 * $Id: CmpiContext.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 Context Definitions 00020 * 00021 */ 00022 00023 #ifndef _CmpiContext_h_ 00024 #define _CmpiContext_h_ 00025 00026 #include "cmpidt.h" 00027 #include "cmpift.h" 00028 00029 #include "Linkage.h" 00030 #include "CmpiObject.h" 00031 #include "CmpiStatus.h" 00032 00036 class CmpiData; 00037 00038 class CMPI_PROVIDER_LINKAGE CmpiContext : public CmpiObject { 00039 friend class CmpiBroker; 00040 friend class CmpiInstanceMI; 00041 friend class CmpiMethodMI; 00042 friend class CmpiAssociationMI; 00043 friend class CmpiPropertyMI; 00044 friend class CmpiIndicationMI; 00045 private: 00046 protected: 00047 00050 CmpiContext(); 00051 00052 public: 00053 00056 CmpiContext(CMPIContext* c); 00057 00060 CMPIContext *getEnc() const; 00061 00064 static const char* invocationFlags; 00065 00068 CmpiData getEntry(const char* name) const; 00069 }; 00070 00071 #endif 00072 00073 00074