Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
BHashC::BHashC(void)
BHashC::BHashC(const BHashC &)
BHashC::BHashC(const BHashC &,BooleanT)
BHashC::Insert(const K &,const T &)
BHashC::Lookup(const K &) const
BHashC::Add(const BHashC &)
BHashC<class K,class T>
 
Branching Hash table.
 
include "amma/BHash.hh"
User Level:Default
Library:Branch
Example:exBiHash.cc
Section:Containers.Hash Tables
In Scope:std

Comments:
Not finised yet. !!!! Big object !!!!

Typedefs:
typedef HashElemT<K,T> HashElem;

Variables:
SArray1dC>> table;

IntT elements;

Methods:
BHashC()
Default constructor.

BHashC(const BHashC<K,T> & Oth)
Copy constructor.
This creates a new handle.

BHashC(const BHashC<K,T> & Oth,BooleanT doResize)
Copy constructor. Creates a copy of the list table. if 'doResize' is true it will also check if a table resize is needed.

void Insert(const K & Key,const T & Data)
Insert element into table. This will override value if key already exists.

const T * Lookup(const K & Key) const
Lookup by key.

void Add(const BHashC<K,T> & oth)
Add contents of another table into this one.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001