User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Arrays - 2D - Array2dIterC<class DataT>
 

  PUBLIC
Array2dIterC::Array2dIterC(void)
Array2dIterC::Array2dIterC(const Array2dC &,const IndexRange2dC &)
Array2dIterC::Array2dIterC(const Array2dC &)
Array2dIterC::First(void)
Array2dIterC::operator =(const Array2dC &)
Array2dIterC::Index(void) const
BufferAccess2dIterC::First(const BufferAccessC> &,SizeT,SizeT)
BufferAccess2dIterC::First(const SizeBufferAccessC> &,SizeT)
BufferAccess2dIterC::First(const BufferAccessC> &,const IndexRangeC &,const IndexRangeC &)
BufferAccess2dIterC::First(const RangeBufferAccessC> &,const IndexRangeC &)
BufferAccess2dIterC::RowStart(void)
BufferAccess2dIterC::NextRow(void)
BufferAccess2dIterC::NextRow(IndexC)
BufferAccess2dIterC::NextCol(void)
BufferAccess2dIterC::NextCol(int)
BufferAccess2dIterC::Next(void)
BufferAccess2dIterC::IsElm(void) const
BufferAccess2dIterC::operator bool(void) const
BufferAccess2dIterC::operator ++(void)
BufferAccess2dIterC::operator ++(int)
BufferAccess2dIterC::operator *(void)
BufferAccess2dIterC::operator *(void) const
BufferAccess2dIterC::operator ->(void)
BufferAccess2dIterC::operator ->(void) const
BufferAccess2dIterC::Data(void)
BufferAccess2dIterC::Data(void) const
BufferAccess2dIterC::Data1(void)
BufferAccess2dIterC::Data1(void) const
BufferAccess2dIterC::Row(void)
BufferAccess2dIterC::Row(void) const
BufferAccess2dIterC::RowIndex(const BufferAccessC *) const
BufferAccess2dIterC::ColIndex(void) const
BufferAccess2dIterC::Index(const BufferAccessC *) const
BufferAccess2dIterC::Invalidate(void)

   Array2dIterC<class DataT>   
 
Array1dC iterator.
 
include "Ravl/Array2dIter.hh"
Created:24/08/1999 
User Level:Normal
Library:RavlCore
Example:exArray2.cc
In Scope:RavlN

Parent Classes: Variables:
Methods:
Array2dIterC()
Default constructor.

Array2dIterC(const Array2dC<DataT> & arr,const IndexRange2dC & rng)
Constructor.

Array2dIterC(const Array2dC<DataT> & arr)
Constructor.

bool First()
Goto first element in the array.
Return TRUE if there actually is one.

const Array2dIterC<DataT> & operator =(const Array2dC<DataT> & arr)
Assign to another array.

Index2dC Index() const
Get index of current location.
Has to be calculate, and so is slightly slow.

#include "Ravl/BfAcc2Iter.hh"
bool First(const BufferAccessC<BufferAccessC<DataT>> & pbuf,SizeT size1,SizeT size2)
Goto first element in the array.

bool First(const SizeBufferAccessC<BufferAccessC<DataT>> & pbuf,SizeT size)
Goto first element in the array.

bool First(const BufferAccessC<BufferAccessC<DataT>> & pbuf,const IndexRangeC & nrng1,const IndexRangeC & nrng2)
Goto first element in the array.

bool First(const RangeBufferAccessC<BufferAccessC<DataT>> & pbuf,const IndexRangeC & nrng)
Goto first element in the array

void RowStart()
Go back to the begining of this row.

bool NextRow()
Go to the begining of the next row.
Returns true if the iterator is begining of a valid row, and false if it is at the end of the array.

bool NextRow(IndexC off)
Go to the 'offset' from the first element in the next row.
Returns true if the iterator is in a valid row, and false if it is at the end of the array.

void NextCol()
Goto next column, without checking for row change.
Use with care.

void NextCol(int skip)
Go forward 'skip' columns, without checking for row change.
Use with care.

bool Next()
Goto next element.
Goto next element in the array. Returns true if the element is on the same row of the array. It returns false if the element is on the next row or at the end of the array.

bool IsElm() const
Test if iterator is at a valid element.

operator bool() const
Test if iterator is at a valid element.

void operator ++()
Goto next element.

void operator ++(int)
Goto next element.

DataT & operator *()
Access data of current element

const DataT & operator *() const
Access data of current element

DataT * operator ->()
Access data of current element

const DataT * operator ->() const
Access data of current element

DataT & Data()
Access data of current element

const DataT & Data() const
Access data of current element

DataT & Data1()
Access data of current element

const DataT & Data1() const
Access data of current element

RangeBufferAccessC<DataT> & Row()
Access row we're currently iterating.

const RangeBufferAccessC<DataT> & Row() const
Access row we're currently iterating.

IntT RowIndex(const BufferAccessC<DataT> * row1Begin) const
Work out the current row.

IntT ColIndex() const
Work out the current column.

Index2dC Index(const BufferAccessC<DataT> * rowBegin) const
Get index of current location.
Has to be calculate, and so is slightly slow.

void Invalidate()
Invalidate this iterator.


Maintainer:Charles Galambos, Created: 24/08/1999, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002