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

PolyWordIterator Class Reference

#include <PolyWordIterator.h>

Inheritance diagram for PolyWordIterator::

ConstPolyWordIterator List of all members.

Public Methods

 PolyWordIterator (PolyWord &w)
 PolyWordIterator (PolyWordRep &w)
void startFromLeft ()
void startFromRight ()
void stepRight ()
void stepLeft ()
bool done () const
bool searchToLeft (Generator g)
int position () const
LetterthisLetter () const
LetterleftLetter () const
LetterrightLetter () const
bool isFirst () const
bool isLast () const
bool collectToRight ()
void splitToLeft ()
void insertRight (const PolyWord &w)
void insertLeft (const PolyWord &w)
void insertRight (const Letter &let)
void insertLeft (const Letter &let)
void removeThisLetter ()
void removeLeftLetter ()
void removeRightLetter ()
void decreaseLeftLetter ()
void exchangeToLeft ()

Private Attributes

PolyWordReptheRep
PolyWordNodeiter

Constructor & Destructor Documentation

PolyWordIterator::PolyWordIterator ( PolyWord & w ) [inline]
 

Definition at line 33 of file PolyWordIterator.h.

PolyWordIterator::PolyWordIterator ( PolyWordRep & w ) [inline]
 

Definition at line 36 of file PolyWordIterator.h.


Member Function Documentation

void PolyWordIterator::startFromLeft ( ) [inline]
 

Definition at line 47 of file PolyWordIterator.h.

void PolyWordIterator::startFromRight ( ) [inline]
 

Definition at line 50 of file PolyWordIterator.h.

void PolyWordIterator::stepRight ( ) [inline]
 

Definition at line 53 of file PolyWordIterator.h.

void PolyWordIterator::stepLeft ( ) [inline]
 

Definition at line 56 of file PolyWordIterator.h.

bool PolyWordIterator::done ( ) const [inline]
 

Definition at line 59 of file PolyWordIterator.h.

bool PolyWordIterator::searchToLeft ( Generator g )
 

int PolyWordIterator::position ( ) const
 

Letter & PolyWordIterator::thisLetter ( ) const [inline]
 

Reimplemented in ConstPolyWordIterator.

Definition at line 81 of file PolyWordIterator.h.

Referenced by ConstPolyWordIterator::thisLetter().

Letter & PolyWordIterator::leftLetter ( ) const [inline]
 

Reimplemented in ConstPolyWordIterator.

Definition at line 87 of file PolyWordIterator.h.

Referenced by ConstPolyWordIterator::leftLetter().

Letter & PolyWordIterator::rightLetter ( ) const [inline]
 

Reimplemented in ConstPolyWordIterator.

Definition at line 93 of file PolyWordIterator.h.

Referenced by ConstPolyWordIterator::rightLetter().

bool PolyWordIterator::isFirst ( ) const [inline]
 

Definition at line 99 of file PolyWordIterator.h.

bool PolyWordIterator::isLast ( ) const [inline]
 

Definition at line 102 of file PolyWordIterator.h.

bool PolyWordIterator::collectToRight ( )
 

void PolyWordIterator::splitToLeft ( )
 

void PolyWordIterator::insertRight ( const PolyWord & w )
 

void PolyWordIterator::insertLeft ( const PolyWord & w )
 

void PolyWordIterator::insertRight ( const Letter & let )
 

void PolyWordIterator::insertLeft ( const Letter & let )
 

void PolyWordIterator::removeThisLetter ( )
 

void PolyWordIterator::removeLeftLetter ( )
 

void PolyWordIterator::removeRightLetter ( )
 

void PolyWordIterator::decreaseLeftLetter ( )
 

void PolyWordIterator::exchangeToLeft ( )
 


Member Data Documentation

PolyWordRep& PolyWordIterator::theRep [private]
 

Definition at line 158 of file PolyWordIterator.h.

PolyWordNode* PolyWordIterator::iter [private]
 

Definition at line 159 of file PolyWordIterator.h.


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