vtf-logo

geom::CyclicIndex Class Reference

A class for a cyclic index. More...

#include <CyclicIndex.h>

List of all members.

Public Member Functions

Constructors etc.
 CyclicIndex (const int n)
 Constructor. Initialize index to zero.
 CyclicIndex (const CyclicIndex &other)
 Copy constructor.
CyclicIndexoperator= (const CyclicIndex &other)
 Assignment operator.
 ~CyclicIndex ()
 Trivial destructor.
Accesors.
int operator() () const
 Return the index.
Manipulators.
void set (int i)
 Set the index to i mod N.

Friends

CyclicIndexoperator++ (CyclicIndex &ci)
 Increment the index.
CyclicIndexoperator-- (CyclicIndex &ci)
 Decrement the index.


Detailed Description

A class for a cyclic index.


The documentation for this class was generated from the following file:
Generated on Fri Aug 24 12:56:03 2007 for Computational Geometry Package by  doxygen 1.4.7