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

  PUBLIC
Slice1dIter3C::Slice1dIter3C(void)
Slice1dIter3C::Slice1dIter3C(const Slice1dC &,const Slice1dC &,const Slice1dC &)
Slice1dIter3C::First(void)
Slice1dIter3C::operator bool(void) const
Slice1dIter3C::IsElm(void) const
Slice1dIter3C::IsLast(void) const
Slice1dIter3C::IsFirst(void) const
Slice1dIter3C::Next(void)
Slice1dIter3C::operator ++(int)
Slice1dIter3C::Data1(void)
Slice1dIter3C::Data1(void) const
Slice1dIter3C::Data2(void)
Slice1dIter3C::Data2(void) const
Slice1dIter3C::Data3(void)
Slice1dIter3C::Data3(void) const
Slice1dIter3C::Index(void) const

   Slice1dIter3C<class Data1T,class Data2T,class Data3T>   
 
Slice iterator.
 
include "Ravl/Slice1dIter3.hh"
Created:24/01/2001 
Source file:Ravl/Core/Container/Buffer/Slice1dIter3.hh
User Level:Advanced
Library:RavlCore
In Scope:RavlN

Comments:
Iterates through the elements in a slice

Variables:
Data1T * at1;

Data2T * at2;

Data3T * at3;

Data1T * end;

Slice1dC vec1;

Slice1dC vec2;

Slice1dC vec3;

Methods:
Slice1dIter3C()
Creates an invalid iterator.

Slice1dIter3C(const Slice1dC<Data1T> & nvec1,const Slice1dC<Data2T> & nvec2,const Slice1dC<Data3T> & nvec3)
Creates an iterator of 'nvec'

void First()
Goto first element.

operator bool() const
Test if we're at a valid element.

bool IsElm() const
Test if we're at a valid element.

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

bool IsFirst() const
Test if we're at the first element in the slice.
This is slower than IsElm().

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

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

Data1T & Data1()
Access data at current element.

const Data1T & Data1() const
Access data at current element.

Data2T & Data2()
Access data at current element.

const Data2T & Data2() const
Access data at current element.

Data3T & Data3()
Access data at current element.

const Data3T & Data3() const
Access data at current element.

IntT Index() const
Calculate current index.


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