Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skTSHashTable< TValue > Class Template Reference

This class overrides the base class to provide type-safety. More...

#include <skSHashTable.h>

Inheritance diagram for skTSHashTable< TValue >:

skSHashTable List of all members.

Public Member Functions

 skTSHashTable (USize size)
 constructs the table with the given size

 skTSHashTable ()
 default constructor which constructs a table with 3 entries

 ~skTSHashTable ()
 destructor - destroys the keys and values in the table

void insertKeyAndValue (const skString &key, TValue *value)
 this method adds the given key and value to the table.

TValue * value (const skString &key)
 returns the value associated with the given key (or 0)


Protected Member Functions

void deleteValue (void *value)
 deletes the given value (casting it appropriately)


Detailed Description

template<class TValue>
class skTSHashTable< TValue >

This class overrides the base class to provide type-safety.


Member Function Documentation

template<class TValue>
void skTSHashTable< TValue >::insertKeyAndValue const skString key,
TValue *  value
 

this method adds the given key and value to the table.

If the key is already in the table, the existing version is first deleted

Exceptions:
Symbian - a leaving function


The documentation for this class was generated from the following file:
Generated on Fri Dec 17 20:28:28 2004 for Simkin C++ for Symbian by doxygen1.3