version 1.35.4.6, 2009/10/09 15:19:07
|
version 1.35.4.7, 2009/10/21 15:49:32
|
|
|
getSCMOFromCIMObjectPath(arRef[i]); | getSCMOFromCIMObjectPath(arRef[i]); |
aData[i].value.ref= | aData[i].value.ref= |
reinterpret_cast<CMPIObjectPath*>( | reinterpret_cast<CMPIObjectPath*>( |
new CMPI_Object(scmoRef)); |
new CMPI_Object( |
|
scmoRef, |
|
CMPI_Object::ObjectTypeObjectPath)); |
} | } |
} | } |
break; | break; |
|
|
CMPISCMOUtilities::getSCMOFromCIMInstance(inst); | CMPISCMOUtilities::getSCMOFromCIMInstance(inst); |
aData[i].value.inst = | aData[i].value.inst = |
reinterpret_cast<CMPIInstance*>( | reinterpret_cast<CMPIInstance*>( |
new CMPI_Object(scmoInst,true)); |
new CMPI_Object( |
|
scmoInst, |
|
CMPI_Object::ObjectTypeInstance)); |
} | } |
} | } |
else | else |
|
|
CMPISCMOUtilities:: | CMPISCMOUtilities:: |
getSCMOFromCIMInstance(arInst[i]); | getSCMOFromCIMInstance(arInst[i]); |
aData[i].value.inst = | aData[i].value.inst = |
reinterpret_cast<CMPIInstance*>( |
reinterpret_cast<CMPIInstance*> |
new CMPI_Object(scmoInst, true)); |
(new CMPI_Object( |
|
scmoInst, |
|
CMPI_Object::ObjectTypeInstance)); |
} | } |
} | } |
break; | break; |
|
|
SCMOInstance* scmoRef = | SCMOInstance* scmoRef = |
CMPISCMOUtilities:: getSCMOFromCIMObjectPath(ref); | CMPISCMOUtilities:: getSCMOFromCIMObjectPath(ref); |
data->value.ref = reinterpret_cast<CMPIObjectPath*>( | data->value.ref = reinterpret_cast<CMPIObjectPath*>( |
new CMPI_Object(scmoRef)); |
new CMPI_Object(scmoRef,CMPI_Object::ObjectTypeObjectPath)); |
} | } |
break; | break; |
| |
|
|
SCMOInstance* scmoInst = | SCMOInstance* scmoInst = |
CMPISCMOUtilities::getSCMOFromCIMInstance(inst); | CMPISCMOUtilities::getSCMOFromCIMInstance(inst); |
data->value.inst = reinterpret_cast<CMPIInstance*>( | data->value.inst = reinterpret_cast<CMPIInstance*>( |
new CMPI_Object(scmoInst, true)); |
new CMPI_Object(scmoInst, CMPI_Object::ObjectTypeInstance)); |
} | } |
break; | break; |
| |
|
|
SCMOInstance* orgRef = (SCMOInstance*)key; | SCMOInstance* orgRef = (SCMOInstance*)key; |
SCMOInstance* newRef = new SCMOInstance(orgRef->clone(true)); | SCMOInstance* newRef = new SCMOInstance(orgRef->clone(true)); |
data->value.ref= | data->value.ref= |
reinterpret_cast<CMPIObjectPath*>(new CMPI_Object(newRef)); |
reinterpret_cast<CMPIObjectPath*> |
|
(new CMPI_Object(newRef,CMPI_Object::ObjectTypeObjectPath)); |
data->type=CMPI_ref; | data->type=CMPI_ref; |
} | } |
break; | break; |