version 1.2, 2009/05/05 09:01:39
|
version 1.2.6.1, 2011/10/11 18:18:26
|
|
|
else if (cimProperty.findQualifier(PEGASUS_QUALIFIERNAME_EMBEDDEDOBJECT) | else if (cimProperty.findQualifier(PEGASUS_QUALIFIERNAME_EMBEDDEDOBJECT) |
!= PEG_NOT_FOUND) | != PEG_NOT_FOUND) |
{ | { |
// Note that this condition should only happen for properties in |
|
// class definitions, and only NULL values are recognized. We |
|
// currently don't handle embedded object types with default |
|
// values in the class definition. |
|
#if defined(PEGASUS_ENABLE_PROTOCOL_BINARY) |
|
// The binary protocol (unlike the XML protocol) successfully | // The binary protocol (unlike the XML protocol) successfully |
// transmits embedded object default values. But since they are | // transmits embedded object default values. But since they are |
// not handled elsewhere, we discard the value. | // not handled elsewhere, we discard the value. |
cimProperty.setValue( | cimProperty.setValue( |
CIMValue(value.getType(),value.isArray(),value.getArraySize())); | CIMValue(value.getType(),value.isArray(),value.getArraySize())); |
#else |
|
PEGASUS_ASSERT(value.isNull()); |
|
#endif |
|
| |
realType = CIMTYPE_OBJECT; | realType = CIMTYPE_OBJECT; |
} | } |