hash.h File Reference

#include <list>
#include <vector>
#include <string>
#include <iostream>
#include <assert.h>

Go to the source code of this file.

Classes

struct  basicHashElt< Key >
class  basic_hash< Key, list_elem >
class  basic_hash< Key, list_elem >::hash_iterator< le >
class  noval_hash< Key >
struct  HashElt< Key, T >
class  hash< Key, T >

Functions

size_t hashfun (unsigned p)
size_t hashfun (const std::string &s)
size_t hashfun (std::string &s)
size_t hashfun (const char *p)

Variables

const size_t primes [] = { 31, 101, 503, 1009, 2003, 5003 }


Function Documentation

size_t hashfun ( const char *  p  ) 

size_t hashfun ( std::string &  s  ) 

size_t hashfun ( const std::string &  s  ) 

size_t hashfun ( unsigned  p  )  [inline]


Variable Documentation

const size_t primes[] = { 31, 101, 503, 1009, 2003, 5003 }


Generated on Fri Sep 21 22:35:03 2007 for liby2util by  doxygen 1.5.3