Definition at line 143 of file RotorBrowserContext.h. References GetRelative(), ILOG_DEBUG, and mPosition. Referenced by GoLeft(), and GoRight(). 00144 { 00145 if (rpos == 0) 00146 return true; 00147 int newpos = GetRelative(rpos); 00148 if (newpos >= 0) 00149 { 00150 mPosition = newpos; 00151 ILOG_DEBUG("GoRelative(" << rpos << " -> " << mPosition << ")"); 00152 return true; 00153 } 00154 ILOG_DEBUG("GoRelative(" << rpos << " -> failed)"); 00155 return false; 00156 }
Here is the call graph for this function:
|