#include <CurPath.hpp>
Public Methods | |
| TLabelID | GotoNext () | 
| TLabelID | GotoPrev () | 
      
  | 
  
| 
 
 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    }
 | 
  
      
  | 
  
| 
 
 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    }
 | 
  
1.2.11.1 written by Dimitri van Heesch,
 © 1997-2001