00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
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