Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

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 Feb 24 00:30:02 2006 for liby2util by  doxygen 1.4.4