Definition at line 95 of file AppControlDoc.h. References AllHandleDoneCursor(), AllHandleDoneVisit(), AllHandleNewCursor(), Impala::Core::Database::DataDocument::CursorNextBookmark(), Impala::Core::Database::DataDocument::CursorNextDir(), Impala::Core::Database::DataDocument::CursorNextShot(), Impala::Core::Database::DataDocument::CursorToDir(), Impala::Core::Database::DataDocument::GetDataSet(), Impala::Core::Database::DataDocument::HasBookmarks(), Impala::Core::Database::LEVEL_NONE, and mDoc. 00096 { 00097 if (mDoc->HasBookmarks()) 00098 { 00099 DocLevel level; 00100 do 00101 { 00102 level = mDoc->CursorNextBookmark(); 00103 AllHandleNewCursor(level, true); 00104 if (doRightOnBookmarks && (level != Core::Database::LEVEL_NONE)) 00105 { 00106 DocLevel level2; 00107 do 00108 { 00109 level2 = mDoc->CursorNextShot(); 00110 AllHandleNewCursor(level2, false); 00111 } 00112 while (level2 != Core::Database::LEVEL_NONE); 00113 } 00114 AllHandleDoneCursor(level); 00115 } 00116 while (level != Core::Database::LEVEL_NONE); 00117 } 00118 else 00119 { 00120 if (numberDir == -1) 00121 numberDir = mDoc->GetDataSet()->NrDirs(); 00122 DocLevel level1 = mDoc->CursorToDir(startDir); 00123 AllHandleNewCursor(level1, false); 00124 int nr = 0; 00125 while ((level1 != Core::Database::LEVEL_NONE) && (nr < numberDir)) 00126 { 00127 DocLevel level2; 00128 do 00129 { 00130 level2 = mDoc->CursorNextShot(); 00131 AllHandleNewCursor(level2, false); 00132 } 00133 while (level2 != Core::Database::LEVEL_NONE); 00134 AllHandleDoneCursor(level1); 00135 nr++; 00136 if (nr < numberDir) 00137 { 00138 level1 = mDoc->CursorNextDir(); 00139 AllHandleNewCursor(level1, false); 00140 } 00141 } 00142 } 00143 AllHandleDoneVisit(); 00144 }
Here is the call graph for this function:
|