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

void Impala::Application::IDash::AppControlDossier::VisitAll ( bool  doRightOnBookmarks,
int  startDir,
int  numberDir 
) [inline]

Definition at line 76 of file AppControlDossier.h.

References AllHandleDoneCursor(), AllHandleDoneVisit(), AllHandleNewCursor(), Impala::Core::Database::DataDocument::CursorNextBookmark(), Impala::Core::Database::DataDocument::CursorNextDir(), Impala::Core::Database::DataDocument::CursorNextFile(), Impala::Core::Database::DataDocument::CursorToDir(), Impala::Core::Database::DataDocument::GetDataSet(), Impala::Core::Database::DataDocument::HasBookmarks(), Impala::Core::Database::LEVEL_NONE, and mDoc.

00077     {
00078         if (mDoc->HasBookmarks())
00079         {
00080             DocLevel level;
00081             do
00082             {
00083                 level = mDoc->CursorNextBookmark();
00084                 AllHandleNewCursor(level, true);
00085                 if (doRightOnBookmarks && (level != Core::Database::LEVEL_NONE))
00086                 {
00087                     DocLevel level2;
00088                     do {
00089                         level2 = mDoc->CursorNextFile();
00090                         AllHandleNewCursor(level2, false);
00091                     } while (level2 != Core::Database::LEVEL_NONE);
00092                 }
00093                 AllHandleDoneCursor(level);
00094             } while (level != Core::Database::LEVEL_NONE);
00095         }
00096         else
00097         {
00098             if (numberDir == -1)
00099                 numberDir = mDoc->GetDataSet()->NrDirs();
00100             DocLevel level1 = mDoc->CursorToDir(startDir);
00101             AllHandleNewCursor(level1, false);
00102             int nr = 0;
00103             while ((level1 != Core::Database::LEVEL_NONE) && (nr < numberDir))
00104             {
00105                 DocLevel level2;
00106                 do {
00107                     level2 = mDoc->CursorNextFile();
00108                     AllHandleNewCursor(level2, false);
00109                 } while (level2 != Core::Database::LEVEL_NONE);
00110                 AllHandleDoneCursor(level1);
00111                 nr++;
00112                 if (nr < numberDir)
00113                 {
00114                     level1 = mDoc->CursorNextDir();
00115                     AllHandleNewCursor(level1, false);
00116                 }
00117             }
00118         }
00119         AllHandleDoneVisit();
00120     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:39:27 2010 for ImpalaSrc by  doxygen 1.5.1