User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Misc - BinIterC<class IT,class DIT,class BT>
 

  PUBLIC
BinIterC::BinIterC(const BinTableC &)
BinIterC::BinIterC(const BinIterC &)
BinIterC::operator =(const BinIterC &)
BinIterC::operator =(const BinTableC &)
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 &)

   BinIterC<class IT,class DIT,class BT>   
 
Bin table iterator.
 
include "Ravl/BinIter.hh"
Created:27/11/1996 
User Level:Normal
Library:RavlCore
In Scope:RavlN

Comments:
SMALL OBJECT

Parent Classes: Methods:
BinIterC(const BinTableC<IT,DIT,BT> & Tab)
Constructor.

BinIterC(const BinIterC<IT,DIT,BT> & anoth)
Copy Constructor.

BinIterC<IT,DIT,BT> & operator =(const BinIterC<IT,DIT,BT> & oth)
Assignment to another iterator.

BinIterC<IT,DIT,BT> & operator =(const BinTableC<IT,DIT,BT> & oth)
Assignment to another table.

#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 DIT & Key(void) const
Key for current item. IsElm() Must be true.

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

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

BT & operator *()
Access data.

const BT & 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<DIT,BT> & operator =(const HashC<DIT,BT> & oth)
Assign to another table.

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


Maintainer:Charles Galambos, Created: 27/11/1996, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002