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

Diff for /pegasus/src/Pegasus/Common/HashTable.h between version 1.19 and 1.20

version 1.19, 2005/02/05 22:59:23 version 1.20, 2005/08/10 19:42:49
Line 39 
Line 39 
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/String.h> #include <Pegasus/Common/String.h>
   #include <Pegasus/Common/CIMObjectPath.h>
 #include <Pegasus/Common/Linkage.h> #include <Pegasus/Common/Linkage.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
Line 61 
Line 62 
     static Uint32 hash(Uint32 x) { return x + 13; }     static Uint32 hash(Uint32 x) { return x + 13; }
 }; };
  
   PEGASUS_TEMPLATE_SPECIALIZATION struct HashFunc <CIMObjectPath>
   {
       static Uint32 hash (const CIMObjectPath & path)
       {
           return path.makeHashCode ();
       }
   };
   
 /* /*
     Hash function object that converts to lowercase.     Hash function object that converts to lowercase.
  
Line 96 
Line 105 
     }     }
 }; };
  
   PEGASUS_TEMPLATE_SPECIALIZATION struct EqualFunc <CIMObjectPath>
   {
       static Boolean equal (const CIMObjectPath & x, const CIMObjectPath & y)
       {
           return x.identical (y);
       }
   };
   
 /* /*
     Equal function object that can be used by HashTable to compare keys that     Equal function object that can be used by HashTable to compare keys that
     should be treated as case insensitive.     should be treated as case insensitive.


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2