00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 #ifndef _CmpiPropertyMI_h_
00023 #define _CmpiPropertyMI_h_
00024 
00025 #include "OW_config.h"
00026 
00027 #include <iostream>
00028 
00029 #include "cmpidt.h"
00030 #include "cmpift.h"
00031 
00032 #include "CmpiBaseMI.h"
00033 #include "CmpiStatus.h"
00034 #include "CmpiObjectPath.h"
00035 #include "CmpiResult.h"
00036 #include "CmpiContext.h"
00037 
00038 
00039 class CmpiPropertyMI : public CmpiBaseMI {
00040   protected:
00041   public:
00042    virtual ~CmpiPropertyMI() {}
00043    CmpiPropertyMI(CMPIBroker *mbp, const CmpiContext& ctx)
00044       : CmpiBaseMI(mbp,ctx) {}
00045 
00046    static CMPIStatus driveSetProperty
00047       (CMPIPropertyMI* mi, CMPIContext* eCtx, CMPIResult* eRslt,
00048        CMPIObjectPath* eOp, char* name, CMPIData data);
00049    static CMPIStatus driveGetProperty
00050       (CMPIPropertyMI* mi, CMPIContext* eCtx, CMPIResult* eRslt,
00051        CMPIObjectPath* eOp, char* name);
00052 
00053    virtual CmpiStatus setProperty
00054       (const CmpiContext& ctx, CmpiResult& rslt,
00055        const CmpiObjectPath& op, const char* name, const CmpiData& data);
00056    virtual CmpiStatus getProperty
00057       (const CmpiContext& ctx, CmpiResult& rslt,
00058        const CmpiObjectPath& op, const char* name);
00059 };
00060 
00061 #endif
00062