Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Hash Tables - HashBaseC
 

  PUBLIC
HashBaseC::HashBaseC(void)
HashBaseC::HashBaseC(UIntT)
HashBaseC::IsEmpty(void) const
HashBaseC::Size(void) const
HashBaseC::NextPrime(SizeT)

   HashBaseC   
 
Base class for table.
 
include "Ravl/Hash.hh"
Created:1/9/1996 
Source file:Ravl/Core/Container/Hash/Hash.hh
User Level:Develop
Library:RavlCore
Example:WordFreq.cc exHash.cc
In Scope:RavlN

Comments:
BIG OBJECT!

Use HashART in HashAR.hh in preference to this, in nearly every case its faster.

The following amma classes can be used as a key for this template:

StringC, Index2dC, Index3dC, IndexNdC, PixelC, RGBValueC, RGBValueU16C, ByteRGBValueC, RGBXValueC(Doesn't use X component.)

If you want a class added e-mail me.

Derived Classes: Variables:
UIntT elements;
Number of elements in the table.

Methods:
HashBaseC()
Default constructor.

HashBaseC(UIntT nelements)
Constructor.

bool IsEmpty() const
Is the table empty ?

UIntT Size() const
Count number of elements in table.

SizeT NextPrime(SizeT v)
Get the next prime not smaller than v.


Maintainer:Charles Galambos, Created: 1/9/1996, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002