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

  PUBLIC
Array1dIterC::Array1dIterC(void)
Array1dIterC::Array1dIterC(const Array1dC &)
Array1dIterC::Array1dIterC(const Array1dC &,const IndexRangeC &)
Array1dIterC::First(void)
Array1dIterC::First(Array1dC &)
Array1dIterC::IsFirst(void) const
Array1dIterC::operator =(const Array1dC &)
Array1dIterC::Index(void) const
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)

   Array1dIterC<class DataT>   
 
Array1dC iterator.
 
include "Ravl/Array1dIter.hh"
Created:24/08/99 
Source file:Ravl/Core/Container/Array/Array1dIter.hh
User Level:Normal
Library:RavlCore
Example:exArray1.cc
In Scope:RavlN

Parent Classes: Variables:
Array1dC dat;

Methods:
Array1dIterC()
Default constructor.

Array1dIterC(const Array1dC<DataT> & arr)
Constructor.

Array1dIterC(const Array1dC<DataT> & arr,const IndexRangeC & range)
Iterate through a sub-range.

void First()
Goto first element in the array.

void First(Array1dC<DataT> & arr)
Goto first element in the array.

bool IsFirst() const
Test if this is the first element in the range.
Note,this is slower than IsElm().

const Array1dIterC<DataT> & operator =(const Array1dC<DataT> & arr)
Assignment.

IndexC Index() const
Calculate the index we're at.

#include "Ravl/BfAccIter.hh"
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/08/99, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002