Logo Search packages:      
Sourcecode: djvulibre version File versions

unsigned int hash ( const GURL gurl  )  [friend]

Hashing function.

hash suitable for usage in {GMap}

Definition at line 1869 of file GURL.cpp.

  unsigned int retval;
  const GUTF8String s(gurl.get_string());
  const int len=s.length();
  if(len && (s[len-1] == '/')) // Don't include the trailing slash as part of the hash.
  return retval;

Generated by  Doxygen 1.6.0   Back to index