(file) Return to CMPI_Value.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / CMPI

Diff for /pegasus/src/Pegasus/ProviderManager2/CMPI/CMPI_Value.cpp between version 1.35.4.6 and 1.35.4.7

version 1.35.4.6, 2009/10/09 15:19:07 version 1.35.4.7, 2009/10/21 15:49:32
Line 604 
Line 604 
                                 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;
Line 625 
Line 627 
                                 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
Line 638 
Line 642 
                                 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;
Line 741 
Line 747 
                     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;
  
Line 761 
Line 767 
                     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;
  
Line 872 
Line 878 
                 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;


Legend:
Removed from v.1.35.4.6  
changed lines
  Added in v.1.35.4.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2