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

Diff for /pegasus/src/Pegasus/Common/CIMObjectPath.cpp between version 1.20 and 1.22

version 1.20, 2002/09/20 16:48:11 version 1.22, 2002/09/20 19:40:11
Line 32 
Line 32 
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <cctype> #include <cctype>
 #include <cstring> #include <cstring>
   #include <iostream>
 #include "HashTable.h" #include "HashTable.h"
 #include "CIMObjectPath.h" #include "CIMObjectPath.h"
 #include "Indentor.h" #include "Indentor.h"
Line 186 
Line 187 
  
 CIMKeyBinding::CIMKeyBinding(const CIMName& name, const CIMValue& value) CIMKeyBinding::CIMKeyBinding(const CIMName& name, const CIMValue& value)
 { {
     // ATTN-RK-20020920: Verify that real numbers cannot be keys      if (value.isArray())
     if (value.isArray() ||  
         (value.getType() == CIMTYPE_REAL32) ||  
         (value.getType() == CIMTYPE_REAL64))  
     {     {
         throw TypeMismatchException();         throw TypeMismatchException();
     }     }
Line 261 
Line 259 
  
 Boolean CIMKeyBinding::equal(CIMValue value) Boolean CIMKeyBinding::equal(CIMValue value)
 { {
     // ATTN-RK-20020920: Verify that real numbers cannot be keys      if (value.isArray())
     if (value.isArray() ||  
         (value.getType() == CIMTYPE_REAL32) ||  
         (value.getType() == CIMTYPE_REAL64))  
     {     {
         return false;         return false;
     }     }
Line 439 
Line 434 
    setKeyBindings(keyBindings);    setKeyBindings(keyBindings);
 } }
  
 Boolean CIMObjectPath::_parseHostElement(  Boolean _parseHostElement(
     const String& objectName,     const String& objectName,
     char*& p,     char*& p,
     String& host)     String& host)
Line 510 
Line 505 
     return true;     return true;
 } }
  
 Boolean CIMObjectPath::_parseNamespaceElement(  Boolean _parseNamespaceElement(
     const String& objectName,     const String& objectName,
     char*& p,     char*& p,
     CIMNamespaceName& nameSpace)     CIMNamespaceName& nameSpace)
Line 597 
Line 592 
     operation of retrieving the class definition to determine     operation of retrieving the class definition to determine
     the key property types.     the key property types.
 */ */
 void CIMObjectPath::_parseKeyBindingPairs(  void _parseKeyBindingPairs(
     const String& objectName,     const String& objectName,
     char*& p,     char*& p,
     Array<CIMKeyBinding>& keyBindings)     Array<CIMKeyBinding>& keyBindings)
Line 960 
Line 955 
     return !operator==(x, y);     return !operator==(x, y);
 } }
  
   #ifndef PEGASUS_REMOVE_DEPRECATED
 PEGASUS_STD(ostream)& operator<<( PEGASUS_STD(ostream)& operator<<(
     PEGASUS_STD(ostream)& os,     PEGASUS_STD(ostream)& os,
     const CIMObjectPath& x)     const CIMObjectPath& x)
 { {
     return os << x.toString();     return os << x.toString();
 } }
   #endif
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.20  
changed lines
  Added in v.1.22

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2