28 friend class MessageDictTester;
40 int size() { return mSize; }
56 void removeFollowing( KMDictItem *item, long key);
Class representing items in a KMDict.
KMDict implements a lightweight dictionary with serial numbers as keys.
void remove(long key) Removes an item.
void clear() Clears the hash table, removing all items.
KMDict(int size=17) Creates a hash table with size columns.
~KMDict() Destroys the hash table object.
KMDictItem * find(long key) Find an item by key.
int size() Returns the size of the hash table.
void insert(long key, KMDictItem *item) Inserts an item without replacing ones with the same key.
void replace(long key, KMDictItem *item) Inserts an item, replacing old ones with the same key.
|