SimpleHashtable Struct Reference

#include <simplehashtable.h>

List of all members.

Public Member Functions

 SimpleHashtable (int bkt_count_)
 ~SimpleHashtable ()
short hash (void *key)
void add (void *key, int value=1, void *value1=NULL)
bool lookup (void *key, int *value_ptr, void **value1_ptr)
int * lookup_or_add (void *key, int init_value, void *init_value1)
Iteratoriterator ()
int size ()

Friends

class Iterator

Classes

class  Iterator


Constructor & Destructor Documentation

SimpleHashtable.SimpleHashtable ( int  bkt_count_  ) 

SimpleHashtable.~SimpleHashtable (  ) 


Member Function Documentation

short SimpleHashtable.hash ( void *  key  ) 

void SimpleHashtable.add ( void *  key,
int  value = 1,
void *  value1 = NULL 
)

bool SimpleHashtable.lookup ( void *  key,
int *  value_ptr,
void **  value1_ptr 
)

int* SimpleHashtable.lookup_or_add ( void *  key,
int  init_value,
void *  init_value1 
)

Iterator* SimpleHashtable.iterator (  ) 

int SimpleHashtable.size (  ) 


Friends And Related Function Documentation

friend class Iterator [friend]


The documentation for this struct was generated from the following file:

Genereated on Tue Mar 11 19:26:03 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.