#include <BDict.h>
Inheritance diagram for BDict< Type >:

Public Types | |
| typedef BIter | iterator |
Public Member Functions | |
| BDict (int hashSize=100) | |
| BDict (const BDict< Type > &dict) | |
| int | hasKey (const BString &k) const |
| BString | key (const BIter &i) const |
| void | clear () |
| Clear the list. | |
| void | insert (BIter &i, const BDictItem< Type > &item) |
| Insert item before item. | |
| void | del (const BString &k) |
| void | del (BIter &i) |
| Delete specified item. | |
| BIter | find (const BString &k) const |
| Type & | operator[] (const BString &i) |
| Type & | operator[] (const BIter &i) |
| const Type & | operator[] (const BIter &i) const |
| BDict< Type > | operator+ (const BDict< Type > &dict) const |
| BDict< Type > & | operator= (const BDict< Type > &dict) |
| void | hashPrint () |
Private Member Functions | |
| void | hashAdd (const BString &k, BIter iter) |
| void | hashDelete (const BString &k, BIter iter) |
| int | hashFind (const BString &k, BIter &iter) const |
Private Attributes | |
| int | ohashSize |
| BArray< BList< BIter > > | ohashLists |
| void BDict< Type >::clear | ( | ) | [virtual] |
| int BDict< Type >::hashFind | ( | const BString & | k, | |
| BIter & | iter | |||
| ) | const [private] |
| void BDict< Type >::hashPrint | ( | ) |
Reimplemented from BList< BDictItem< Type > >.
BArray<BList<BIter> > BDict< Type >::ohashLists [private] |
1.4.7