Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Hash Tables - BiHashIterC<class D1T,class D2T>
 

  PUBLIC
BiHashIterC::BiHashIterC(const BiHashC &)
BiHashIterC::Data1(void)
BiHashIterC::Data2(void)
HashIterC::First(void)
HashIterC::Next(void)
HashIterC::operator ++(int)
HashIterC::operator ++(void)
HashIterC::IsElm(void) const
HashIterC::operator bool(void) const
HashIterC::Key(void) const
HashIterC::Data(void) const
HashIterC::Data(void)
HashIterC::operator *(void)
HashIterC::operator *(void) const
HashIterC::Del(void)
HashIterC::operator =(const HashC &)
HashIterC::operator =(const HashIterC &)
HashIterC::CheckValid(void)

   BiHashIterC<class D1T,class D2T>   
 
Bi-directional hash table iterator
 
include "Ravl/BiHash.hh"
Created:1/9/96 
Source file:Ravl/Core/Container/Hash/BiHash.hh
User Level:Normal
Library:RavlCore
Example:exBiHash.cc
In Scope:RavlN

Parent Classes: Methods:
BiHashIterC(const BiHashC<D1T,D2T> & bihash)

D1T & Data1()
Access data1.

D2T & Data2()
Access data1.

#include "Ravl/HashIter.hh"
bool First(void)
Goto first item in table.

bool Next(void)
Goto next iterm in table. Once this returns false (or IsElm() is false) this should not be called again.

void operator ++(int)
Goto next element.

void operator ++()
Goto next element.

bool IsElm() const
Pointing to valid element ?

operator bool() const
At a valid element ?

const D1T & Key(void) const
Key for current item. IsElm() Must be true.

const D2T & Data(void) const
Data for current item.IsElm() Must be true.

D2T & Data(void)
Data for current item.IsElm() Must be true.

D2T & operator *()
Access data.

const D2T & operator *() const
Access data.

void Del(void)
Delete current item from table, move to next. -> this breaks HashAR, if required I'll make a new non-constant iterator which can do this.

HashIterC<D1T,D2T> & operator =(const HashC<D1T,D2T> & oth)
Assign to another table.

HashIterC<D1T,D2T> & operator =(const HashIterC<D1T,D2T> & oth)
Assign to another iterator. const HashC &GetTable() const { return hashTab; } Which table ?

bool CheckValid(void)


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