cmpi
|
00001 /* 00002 * 00003 * $Id: CmpiPropertyMI.h,v 1.4 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 Property MI Definitions 00020 * 00021 */ 00022 00023 #ifndef _CmpiPropertyMI_h_ 00024 #define _CmpiPropertyMI_h_ 00025 00026 #include <iostream> 00027 00028 #include "cmpidt.h" 00029 #include "cmpift.h" 00030 00031 #include "Linkage.h" 00032 #include "CmpiBaseMI.h" 00033 #include "CmpiStatus.h" 00034 #include "CmpiObjectPath.h" 00035 #include "CmpiResult.h" 00036 #include "CmpiContext.h" 00037 #include "CmpiArgs.h" 00038 00039 00040 class CMPI_PROVIDER_LINKAGE CmpiPropertyMI : virtual public CmpiBaseMI { 00041 public: 00042 CmpiPropertyMI(const CmpiBroker &mbp, const CmpiContext& ctx); 00043 00044 static CMPIStatus driveSetProperty 00045 (CMPIPropertyMI* mi, const CMPIContext* eCtx, const CMPIResult* eRslt, 00046 const CMPIObjectPath* eOp, const char* name, CMPIData data); 00047 static CMPIStatus driveGetProperty 00048 (CMPIPropertyMI* mi, const CMPIContext* eCtx, const CMPIResult* eRslt, 00049 const CMPIObjectPath* eOp, const char* name); 00050 00051 virtual CmpiStatus setProperty 00052 (const CmpiContext& ctx, CmpiResult& rslt, 00053 const CmpiObjectPath& op, const char* name, const CmpiData& data); 00054 virtual CmpiStatus getProperty 00055 (const CmpiContext& ctx, CmpiResult& rslt, 00056 const CmpiObjectPath& op, const char* name); 00057 }; 00058 00059 #endif 00060