Definition at line 465 of file DataDocument.h. References mCurFileId, mDataSet, Impala::Core::Database::RawDataSet::NrFiles(), and SameDir(). Referenced by GetNextFile(), and GetPrevFile(). 00466 { 00467 int newFile = oldFile + dir; 00468 if ((newFile < 0) || (newFile >= mDataSet->NrFiles())) 00469 return -1; 00470 if (! SameDir(mCurFileId, newFile)) 00471 return -1; 00472 if (--steps <= 0) 00473 return newFile; 00474 return GetFileMove(newFile, dir, steps); 00475 }
Here is the call graph for this function:
|