Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

bool Impala::Core::Database::DataDocument::TryFileMove ( int  newFile,
bool  withinDir 
) [inline, protected]

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:


Generated on Thu Jan 13 09:18:55 2011 for ImpalaSrc by  doxygen 1.5.1