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

bool Impala::Core::Database::DataDocument::TryDirMove ( int  inc  )  [inline, protected]

Definition at line 478 of file DataDocument.h.

References Impala::Core::Database::RawDataSet::GetDirIdOfFile(), Impala::Core::Database::RawDataSet::GetFirstFileId(), GotoFile(), HasCurFile(), mCurFileId, mDataSet, and Impala::Core::Database::RawDataSet::NrDirs().

Referenced by GotoNextDir(), and GotoPrevDir().

00479     {
00480         if (!HasCurFile())
00481             return false;
00482         int subset = mDataSet->GetDirIdOfFile(mCurFileId) + inc;
00483         if ((subset < 0) || (subset >= mDataSet->NrDirs()))
00484             return false;
00485         int newFile = mDataSet->GetFirstFileId(subset);
00486         GotoFile(newFile);
00487         return true;
00488     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:07:10 2010 for ImpalaSrc by  doxygen 1.5.1