Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Arrays - Buffer - BufferAccessIter2C<class Data1T,class Data2T>
 

  PUBLIC
BufferAccessIter2C::BufferAccessIter2C(void)
BufferAccessIter2C::BufferAccessIter2C(const RangeBufferAccessC &,const RangeBufferAccessC &)
BufferAccessIter2C::BufferAccessIter2C(const BufferAccessC &,const BufferAccessC &,SizeT)
BufferAccessIter2C::BufferAccessIter2C(const SizeBufferAccessC &,const SizeBufferAccessC &)
BufferAccessIter2C::BufferAccessIter2C(const SizeBufferAccessC &,const SizeBufferAccessC &,UIntT,UIntT)
BufferAccessIter2C::BufferAccessIter2C(const RangeBufferAccessC &,const RangeBufferAccessC &,const IndexRangeC &)
BufferAccessIter2C::BufferAccessIter2C(const RangeBufferAccessC &,const RangeBufferAccessC &,UIntT,UIntT)
BufferAccessIter2C::First(const RangeBufferAccessC &,const RangeBufferAccessC &)
BufferAccessIter2C::First(const RangeBufferAccessC &,const RangeBufferAccessC &,const IndexRangeC &)
BufferAccessIter2C::First(const SizeBufferAccessC &,const SizeBufferAccessC &)
BufferAccessIter2C::First(const SizeBufferAccessC &,const SizeBufferAccessC &,UIntT,UIntT)
BufferAccessIter2C::First(const RangeBufferAccessC &,const RangeBufferAccessC &,UIntT,UIntT)
BufferAccessIter2C::First(const BufferAccessC &,const BufferAccessC &,SizeT)
BufferAccessIter2C::First(const BufferAccessC &,const IndexRangeC &,const BufferAccessC &,const IndexRangeC &)
BufferAccessIter2C::IsElm(void) const
BufferAccessIter2C::IsLast(void) const
BufferAccessIter2C::operator bool(void)
BufferAccessIter2C::Next(void)
BufferAccessIter2C::Next(int)
BufferAccessIter2C::operator ++(int)
BufferAccessIter2C::Data1(void)
BufferAccessIter2C::Data1(void) const
BufferAccessIter2C::Data2(void)
BufferAccessIter2C::Data2(void) const
BufferAccessIter2C::Invalidate(void)

   BufferAccessIter2C<class Data1T,class Data2T>   
 
Iterate 2 buffers at the same time.
 
include "Ravl/BfAccIter2.hh"
Created:10/09/1998 
Source file:Ravl/Core/Container/Buffer/BfAccIter2.hh
User Level:Advanced
Library:RavlCore
In Scope:RavlN

Derived Classes: Variables:
Data1T * at1;

Data2T * at2;

const Data1T * endOfRow;

Methods:
BufferAccessIter2C()
Default constructor.

BufferAccessIter2C(const RangeBufferAccessC<Data1T> & buff,const RangeBufferAccessC<Data2T> & buff2)

BufferAccessIter2C(const BufferAccessC<Data1T> & buff,const BufferAccessC<Data2T> & buff2,SizeT size)

BufferAccessIter2C(const SizeBufferAccessC<Data1T> & buff,const SizeBufferAccessC<Data2T> & buff2)

BufferAccessIter2C(const SizeBufferAccessC<Data1T> & buff,const SizeBufferAccessC<Data2T> & buff2,UIntT off1,UIntT off2)
Constructor.
start from off1 in the first array and off2 in the second.

BufferAccessIter2C(const RangeBufferAccessC<Data1T> & buff,const RangeBufferAccessC<Data2T> & buff2,const IndexRangeC & range)
Constructor.
Only iterate through 'range' in both buffers.

BufferAccessIter2C(const RangeBufferAccessC<Data1T> & buff,const RangeBufferAccessC<Data2T> & buff2,UIntT off1,UIntT off2 = 0)
Constructor.
Iterate through buffers starting at the given offsets off1 and off2 from the begining of the ranges.

bool First(const RangeBufferAccessC<Data1T> & buff,const RangeBufferAccessC<Data2T> & buff2)
Goto first elements.

bool First(const RangeBufferAccessC<Data1T> & buff,const RangeBufferAccessC<Data2T> & buff2,const IndexRangeC & rng)
Goto first elements.

bool First(const SizeBufferAccessC<Data1T> & buff,const SizeBufferAccessC<Data2T> & buff2)
Goto first elements.

bool First(const SizeBufferAccessC<Data1T> & buff,const SizeBufferAccessC<Data2T> & buff2,UIntT off1,UIntT off2)
Goto first elements.

bool First(const RangeBufferAccessC<Data1T> & buff,const RangeBufferAccessC<Data2T> & buff2,UIntT off1,UIntT off2 = 0)
Goto first elements.

bool First(const BufferAccessC<Data1T> & buff,const BufferAccessC<Data2T> & buff2,SizeT size)
Goto first elements.

bool First(const BufferAccessC<Data1T> & buff,const IndexRangeC & rng1,const BufferAccessC<Data2T> & buff2,const IndexRangeC & rng2)
Goto first elements.

bool IsElm() const
At valid element ?

bool IsLast() const
Test if we're at the last valid element in the range.
Note: This is slightly slower than IsElm().

operator bool()
At valid element ?

void Next()
Goto next element.
Call ONLY if IsElm() is valid.

void Next(int skip)
Advance 'skip' elements.
Call ONLY if you know this will not go past the end of the array.

void operator ++(int)
Goto next element.
Call ONLY if IsElm() is valid.

Data1T & Data1()
Access data.

const Data1T & Data1() const
Access data.

Data2T & Data2()
Access data.

const Data2T & Data2() const
Access data.

void Invalidate()
Make IsElm() return false.


Maintainer:Charles Galambos, Created: 10/09/1998, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002