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

CurPathIterator Class Reference

#include <CurPath.hpp>

List of all members.

Public Methods

TLabelID GotoNext ()
TLabelID GotoPrev ()


Member Function Documentation

TLabelID CurPathIterator::GotoNext   [inline]
 

Definition at line 58 of file CurPath.hpp.

00061    {
00062       if(curlabel==curblock->labels+CURPATH_LABELBLOCKSIZE)
00063       {
00064          curblock=curblock->next;
00065          if(curblock==NULL)
00066             return LABEL_UNDEFINED;
00067          curlabel=curblock->labels;
00068       }
00069       return *(curlabel++);
00070    }

TLabelID CurPathIterator::GotoPrev   [inline]
 

Definition at line 72 of file CurPath.hpp.

00075    {
00076       curlabel--;
00077       if(curlabel==curblock->labels-1)
00078       {
00079          curblock=curblock->prev;
00080          if(curblock==NULL)
00081             return LABEL_UNDEFINED;
00082 
00083          curlabel=curblock->labels+CURPATH_LABELBLOCKSIZE-1;
00084       }
00085       return *curlabel;
00086    }


The documentation for this class was generated from the following file:
Generated on Sat Oct 13 16:08:52 2001 for XMILL by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001