#line 1 "/user/cvsspst/ees1cg/RAVL/RAVL-0.7/Core/Container/Misc/BinIter.hh" // This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2001, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here #ifndef RAVLBINITER_HEADER #define RAVLBINITER_HEADER 1 /////////////////////////////////////////////////////////////// //! file="Ravl/Core/Container/Misc/BinIter.hh" //! userlevel=Normal //! author="Charles Galambos" //! docentry="Ravl.Core.Misc" //! date="27/11/1996" //! rcsid="$Id: BinIter.hh,v 1.4 2002/01/31 14:55:29 craftit Exp $" //! lib=RavlCore #include "Ravl/BinTable.hh" #include "Ravl/HashIter.hh" # namespace RavlN { //: Bin table iterator. // SMALL OBJECT template class BinIterC : public HashIterC { public: BinIterC(const BinTableC &Tab) : HashIterC(Tab.bins) {} // Constructor. BinIterC(const BinIterC &anoth) : HashIterC(anoth) {} // Copy Constructor. BinIterC &operator=(const BinIterC &oth) { HashIterC::operator=(oth); return *this; } // Assignment to another iterator. BinIterC &operator=(const BinTableC &oth) { HashIterC::operator=(oth.bins); return *this; } // Assignment to another table. }; template ostream &operator<<(ostream &out,const BinIterC &) { RavlAssertMsg(0,"operator<<(ostream &out,const BinIterC &), NOT IMPLEMENTED "); return out; } } #endif