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

int Impala::Core::Database::DataDocument::GetFileMove ( int  oldFile,
int  dir,
int  steps 
) [inline, protected]

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:


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