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

hash.h File Reference

Detailed Description

Simple hash table implementations.

Definition in file hash.h.

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "narray.h"
#include "smartptr.h"

Go to the source code of this file.


namespace  colib


class  colib::int2hash< T >
 A simple pair-of-int-to-something hash class. More...
struct  colib::int2hash< T >::kvp
class  colib::inthash< T >
 A simple int-to-something hash class. More...
struct  colib::inthash< T >::kvp
class  colib::strhash< T >
 A string-to-something hash class. More...
struct  colib::strhash< T >::kvp


int colib::hash_next (int size)
int colib::hash_value (const char *p, int n)
int colib::hash_value (int key1, int key2, int n)
int colib::hash_value (int key, int n)


const int colib::hash_empty = 999999

Generated by  Doxygen 1.6.0   Back to index