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

Diff for /pegasus/src/Pegasus/Common/ObjectNormalizer.cpp between version 1.29 and 1.30

version 1.29, 2005/03/11 00:49:56 version 1.30, 2005/03/11 05:14:28
Line 195 
Line 195 
  
             if((pos != PEG_NOT_FOUND) && (referenceProperty.getQualifier(pos).getValue().equal(CIMValue(true))))             if((pos != PEG_NOT_FOUND) && (referenceProperty.getQualifier(pos).getValue().equal(CIMValue(true))))
             {             {
                   if(referenceProperty.getType() == CIMTYPE_REFERENCE)
                   {
                       // ATTN: a fake reference is inserted in the key so that the _BubbleSort() method
                       // in CIMObjectPath does not throw and exception. It implicitly validates keys of
                       // type REFERENCE so just place a dummy value for now. The value will be replaced
                       // by the normalized object later.
                       keys.append(CIMKeyBinding(referenceProperty.getName(), "class.key=\"value\"", CIMKeyBinding::REFERENCE));
                   }
                   else
                   {
                 keys.append(CIMKeyBinding(referenceProperty.getName(), referenceProperty.getValue()));                 keys.append(CIMKeyBinding(referenceProperty.getName(), referenceProperty.getValue()));
             }             }
         }         }
           }
  
         // update class object path         // update class object path
         CIMObjectPath cimObjectPath(_cimClass.getPath());         CIMObjectPath cimObjectPath(_cimClass.getPath());


Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2