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

Classes | Public Types | Public Member Functions | Public Attributes | Private Attributes

Dictionary< T > Class Template Reference

Inheritance diagram for Dictionary< T >:
Inheritance graph
Collaboration diagram for Dictionary< T >:
Collaboration graph

List of all members.


class  Bucket

Public Types

typedef dict_iterator< T > iterator

Public Member Functions

int add_element (const char *key, T ele)
iterator begin ()
void clear_all_elements ()
 Dictionary (int size)
T * element_array ()
iterator end ()
bool exists (const char *key)
int find (const char *key)
int hash (const char *str)
int num_elements ()
T & operator[] (const char *str)
bool remove (const char *key)
int size ()
bool upsize ()

Public Attributes

int deleted
int elements
unsigned int hsize
const iterator nulliterator

Private Attributes

int cacheIndex
unsigned int gap

Detailed Description

template<class T>
class Dictionary< T >

Definition at line 130 of file dictionary.h.

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

Generated by  Doxygen 1.6.0   Back to index