CircularIndex Class Reference
[Laser 3D]

Used to have circular indexing without having to repeat code of the type ab. More...

#include <laser3d_circularvector.h>

Data Structures

class  CircularIndex
 the instantiation and can be used to immediately set the length of the circular indexing. More...
class  GetIndex
 returns the present value of the circular index More...
class  GetSize
 returns the present value of the circular index More...
class  SetLength
 used to set the length of the circular index More...
class  Sum
 adds a unit to the present index or returns it to zero if index exceeds length-1. More...

Public Member Functions

 CircularIndex (int vectorlength)
 ~CircularIndex ()
int Sum ()
int GetIndex ()
void SetLength (int vectorlength)
int GetSize ()

Private Attributes

int vectorindex
int vectorsize

Detailed Description

Used to have circular indexing without having to repeat code of the type ab.


Constructor & Destructor Documentation

CircularIndex::~CircularIndex (  )  [inline]

Field Documentation

Referenced by CircularIndex(), GetIndex(), and Sum().

Referenced by CircularIndex(), GetSize(), SetLength(), and Sum().


The documentation for this class was generated from the following files:
Generated on Wed Jun 2 12:43:29 2010 for LAR Atlas by  doxygen 1.6.3