(file) Return to BinaryStreamer.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Repository

Diff for /pegasus/src/Pegasus/Repository/BinaryStreamer.cpp between version 1.2 and 1.3

version 1.2, 2009/05/05 09:01:39 version 1.3, 2011/01/20 13:09:10
Line 778 
Line 778 
         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;
         }         }


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2