version 1.27.4.1, 2009/10/06 10:07:54
|
version 1.27.4.2, 2009/10/15 06:47:13
|
|
|
if (ie->cursor<ie->max) | if (ie->cursor<ie->max) |
{ | { |
data.value.inst = reinterpret_cast<CMPIInstance*> | data.value.inst = reinterpret_cast<CMPIInstance*> |
(new CMPI_Object(new SCMOInstance((*ia)[ie->cursor++]))); |
(new CMPI_Object( |
|
new SCMOInstance((*ia)[ie->cursor++]), |
|
true)); |
CMSetStatus(rc, CMPI_RC_OK); | CMSetStatus(rc, CMPI_RC_OK); |
} | } |
else | else |
|
|
if (ie->cursor<ie->max) | if (ie->cursor<ie->max) |
{ | { |
data.value.inst = reinterpret_cast<CMPIInstance*> | data.value.inst = reinterpret_cast<CMPIInstance*> |
(new CMPI_Object(new SCMOInstance((*ia)[ie->cursor++]))); |
(new CMPI_Object( |
|
new SCMOInstance((*ia)[ie->cursor++]), |
|
true)); |
CMSetStatus(rc, CMPI_RC_OK); | CMSetStatus(rc, CMPI_RC_OK); |
} | } |
else | else |
|
|
if (oe->cursor<oe->max) | if (oe->cursor<oe->max) |
{ | { |
data.value.ref = reinterpret_cast<CMPIObjectPath*> | data.value.ref = reinterpret_cast<CMPIObjectPath*> |
(new CMPI_Object(new SCMOInstance((*opa)[oe->cursor++]))); |
(new CMPI_Object( |
|
new SCMOInstance((*opa)[oe->cursor++]))); |
CMSetStatus(rc, CMPI_RC_OK); | CMSetStatus(rc, CMPI_RC_OK); |
} | } |
else | else |