Implements Impala::Core::Trec::Thread. Definition at line 46 of file ThreadHistory.h. References GetShotPosition(), and mHistory. 00047 { 00048 int r = GetShotPosition(shot); 00049 if (r == -1) 00050 return -1; 00051 int dst = r + offset; 00052 if ((dst < 0) || (dst >= mHistory->size())) 00053 return -1; 00054 return (*mHistory)[dst]; 00055 }
Here is the call graph for this function:
|