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

  PUBLIC
BufferAccessIterC::BufferAccessIterC(void)
BufferAccessIterC::BufferAccessIterC(const BufferAccessC &,const IndexRangeC &)
BufferAccessIterC::BufferAccessIterC(const BufferAccessC &,UIntT)
BufferAccessIterC::BufferAccessIterC(const RangeBufferAccessC &)
BufferAccessIterC::BufferAccessIterC(const SizeBufferAccessC &)
BufferAccessIterC::operator =(const RangeBufferAccessC &)
BufferAccessIterC::operator =(const SizeBufferAccessC &)
BufferAccessIterC::First(const BufferAccessC &,const IndexRangeC &)
BufferAccessIterC::First(const BufferAccessC &,UIntT)
BufferAccessIterC::First(const RangeBufferAccessC &)
BufferAccessIterC::First(const SizeBufferAccessC &)
BufferAccessIterC::IsElm(void) const
BufferAccessIterC::IsLast(void) const
BufferAccessIterC::operator bool(void) const
BufferAccessIterC::operator !(void) const
BufferAccessIterC::Next(void)
BufferAccessIterC::Next(int)
BufferAccessIterC::operator ++(int)
BufferAccessIterC::operator ++(void)
BufferAccessIterC::operator *(void)
BufferAccessIterC::operator *(void) const
BufferAccessIterC::operator ->(void)
BufferAccessIterC::operator ->(void) const
BufferAccessIterC::Data(void)
BufferAccessIterC::Data(void) const
BufferAccessIterC::Data1(void)
BufferAccessIterC::Data1(void) const
BufferAccessIterC::Invalidate(void)

   BufferAccessIterC<class DataT>   
 
Iterator for access buffer.
 
include "Ravl/BfAccIter.hh"
Created:24/01/2001 
Source file:Ravl/Core/Container/Buffer/BfAccIter.hh
User Level:Advanced
Library:RavlCore
In Scope:RavlN

Derived Classes: Variables:
DataT * at;

const DataT * endOfRow;

Methods:
BufferAccessIterC()
Default constructor.

BufferAccessIterC(const BufferAccessC<DataT> & buff,const IndexRangeC & rng)
Constructor.

BufferAccessIterC(const BufferAccessC<DataT> & buff,UIntT size)
Constructor.

BufferAccessIterC(const RangeBufferAccessC<DataT> & buff)
Constructor.

BufferAccessIterC(const SizeBufferAccessC<DataT> & buff)
Constructor.

BufferAccessIterC<DataT> & operator =(const RangeBufferAccessC<DataT> & buff)
Assignment to a buffer.

BufferAccessIterC<DataT> & operator =(const SizeBufferAccessC<DataT> & buff)
Assignment to a buffer.

bool First(const BufferAccessC<DataT> & buff,const IndexRangeC & rng)
Goto fist element.

bool First(const BufferAccessC<DataT> & buff,UIntT size)
Goto fist element.

bool First(const RangeBufferAccessC<DataT> & buff)
Goto fist element.

bool First(const SizeBufferAccessC<DataT> & buff)
Goto fist element.

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() const
At valid element ?

bool operator !() const
Not 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.

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

DataT & operator *()
Access data.

const DataT & operator *() const
Access data.

DataT * operator ->()
Access data.

const DataT * operator ->() const
Access data.

DataT & Data()
Access data.

const DataT & Data() const
Access data.

DataT & Data1()
Access data.
Equivelent to .Data(), for compatability with other iterators.

const DataT & Data1() const
Const access data.
Equivelent to .Data(), for compatability with other iterators.

void Invalidate()
Make IsElm() return false.


Maintainer:Charles Galambos, Created: 24/01/2001, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002