Definition at line 452 of file DataDocument.h. References GotoFile(), HasCurFile(), mCurFileId, mDataSet, Impala::Core::Database::RawDataSet::NrFiles(), and SameDir(). Referenced by GotoNextFile(), and GotoPrevFile(). 00453 { 00454 if ((newFile < 0) || (newFile >= mDataSet->NrFiles())) 00455 return false; 00456 if (!HasCurFile()) 00457 return false; 00458 if (withinDir && (! SameDir(mCurFileId, newFile))) 00459 return false; 00460 GotoFile(newFile); 00461 return true; 00462 }
Here is the call graph for this function:
|