CmpiAssociationMI.h

Go to the documentation of this file.
00001 
00002 /*
00003  *
00004  * CmpiAssociationMI.h
00005  *
00006  * (C) Copyright IBM Corp. 2002
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++ association provider wrapper
00019  *
00020  */
00021 
00022 #ifndef _CmpiAssociationMI_h_
00023 #define _CmpiAssociationMI_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 
00035 class CmpiObjectPath;
00036 class CmpiResult;
00037 class CmpiContext;
00038 
00039 class CmpiAssociationMI : public CmpiBaseMI {
00040   protected:
00041   public:
00042    virtual ~CmpiAssociationMI() {}
00043    CmpiAssociationMI(CMPIBroker *mbp, const CmpiContext& ctx)
00044       : CmpiBaseMI(mbp,ctx) {}
00045 
00046    static CMPIStatus driveAssociators
00047       (CMPIAssociationMI* mi, CMPIContext* eCtx, CMPIResult* eRslt,
00048        CMPIObjectPath* eOp, char* asscClass, char* resultClass,
00049        char* role, char* resultRole, char** properties);
00050    static CMPIStatus driveAssociatorNames
00051       (CMPIAssociationMI* mi, CMPIContext* eCtx, CMPIResult* eRslt,
00052        CMPIObjectPath* eOp, char* assocClass, char* resultClass,
00053        char* role, char* resultRole);
00054    static CMPIStatus driveReferences
00055       (CMPIAssociationMI* mi, CMPIContext* eCtx, CMPIResult* eRslt,
00056        CMPIObjectPath* eOp, char* resultClass, char* role ,
00057        char** properties);
00058    static CMPIStatus driveReferenceNames
00059       (CMPIAssociationMI*, CMPIContext* eCtx, CMPIResult* eRslt,
00060        CMPIObjectPath* eOp, char* resultClass, char* role);
00061 
00062    virtual CmpiStatus associators
00063       (const CmpiContext& ctx, CmpiResult& rslt,
00064        const CmpiObjectPath& op, const char* asscClass, const char* resultClass,
00065        const char* role, const char* resultRole, const char** properties);
00066    virtual CmpiStatus associatorNames
00067       (const CmpiContext& ctx, CmpiResult& rslt,
00068        const CmpiObjectPath& op, const char* assocClass, const char* resultClass,
00069        const char* role, const char* resultRole);
00070    virtual CmpiStatus references
00071       (const CmpiContext& ctx, CmpiResult& rslt,
00072        const CmpiObjectPath& op, const char* resultClass, const char* role ,
00073        const char** properties);
00074    virtual CmpiStatus referenceNames
00075       (const CmpiContext& ctx, CmpiResult& rslt,
00076        const CmpiObjectPath& op, const char* resultClass, const char* role);
00077 };
00078 
00079 #endif
00080 

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