Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PINDEX PURL::HashFunction (  )  const [virtual]

This function yields a hash value required by the PDictionary# class. A descendent class that is required to be the key of a dictionary should override this function. The precise values returned is dependent on the semantics of the class. For example, the PString# class overrides it to provide a hash function for distinguishing text strings.

The default behaviour is to return the value zero.

Returns:
hash function value for class instance.

Reimplemented from PObject.

Definition at line 554 of file http.cxx.

References PString::HashFunction().

{
  return urlString.HashFunction();
}


Generated by  Doxygen 1.6.0   Back to index