|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
!!!! BIG object !!!!
Typedefs:
- typedef BListC<KeyedPairC<UIntT,T>> ElemLst;
-
- typedef BListIterC<KeyedPairC<UIntT,T>> LstIter;
-
Variables:
- SArray1dC Table;
-
- UIntT * Elements;
-
Number of elements in the table.
Methods:
- BHashIntC(UIntT InitSize = 7)
-
Default constructor.
- BHashIntC(const BHashIntC<T> & Oth)
-
- ~BHashIntC()
-
Destructor.
- BHashIntC<T> Copy(IntT Delta = 0) const
-
Make copy changing size, use if items in table are constant.
- BHashIntC<T> DeepCopy() const
-
Make copy, use if you need to modify contents of hash table.
- const BHashIntC<T> & operator=(const BHashIntC<T> & Oth)
-
Assigmment.
- T & Insert(UIntT Key,const T & Data)
-
Insert element into table.
This will override value if key already exists.
- T & Insert(UIntT Key)
-
Insert element into table.
This will override value if key already exists.
- BooleanT Remove(UIntT Key)
-
Remove keyed item from the table.
- void Empty()
-
Empty table of all entries.
- T * Lookup(UIntT Key)
-
Lookup by key.
- const T * Lookup(UIntT Key) const
-
Lookup by key.
- T & operator[](UIntT Key)
-
Access.
- BooleanT IsEmpty() const
-
Is table empty.
- IntT Size() const
-
Get number of entries in table.
- void DoubleSize()
-
Double size of table.
- BHashIntC(SArray1dC<ElemLst> & NewTab,UIntT NoElems)
-
Construct from array.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|