Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

VectorEnumerator Class Reference

#include <WordEnumerator.h>

List of all members.

Public Methods

 VectorEnumerator (int n=2)
void reset (int c=0)
void next ()
VectorOf<Integer> vector () const
VectorOf<Integer> getVectorOf (Integer c) const
Integer getNumberOfVector (VectorOf< Integer > v) const
int vectorsLength () const

Private Methods

VectorOf<Integer> getPairOf (Integer c) const
Integer getNumberOfPair (const Integer &n, const Integer &m) const

Private Attributes

int current
int lengthOfVectors

Constructor & Destructor Documentation

VectorEnumerator::VectorEnumerator ( int n = 2 ) [inline]

Definition at line 30 of file WordEnumerator.h.

Member Function Documentation

void VectorEnumerator::reset ( int c = 0 ) [inline]

Definition at line 39 of file WordEnumerator.h.

Referenced by WordEnumerator::reset().

void VectorEnumerator::next ( ) [inline]

Definition at line 40 of file WordEnumerator.h.

Referenced by WordEnumerator::next().

VectorOf< Integer > VectorEnumerator::vector<Integer> ( ) const [inline]

Definition at line 41 of file WordEnumerator.h.

VectorOf<Integer> VectorEnumerator::getVectorOf ( Integer c ) const

Referenced by vector().

Integer VectorEnumerator::getNumberOfVector ( VectorOf< Integer > v ) const

int VectorEnumerator::vectorsLength ( ) const [inline]

Definition at line 50 of file WordEnumerator.h.

VectorOf<Integer> VectorEnumerator::getPairOf ( Integer c ) const [private]

Integer VectorEnumerator::getNumberOfPair ( const Integer & n,
const Integer & m ) const [inline, private]

Definition at line 55 of file WordEnumerator.h.

Member Data Documentation

int VectorEnumerator::current [private]

Definition at line 60 of file WordEnumerator.h.

int VectorEnumerator::lengthOfVectors [private]

Definition at line 61 of file WordEnumerator.h.

The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:50:10 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001