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

virtual void Impala::Core::ImageSet::Thumbnails::HandleDoneDir ( ImageSet is,
int  dirId 
) [inline, virtual]

Completed given DB_DIR in a "normal" walk.

Reimplemented from Impala::Core::ImageSet::Listener.

Definition at line 134 of file Thumbnails.h.

References Impala::Core::Array::ArrayListDelete(), Impala::Core::Database::RawDataSet::GetContainerDir(), Impala::Core::Database::RawDataSet::GetDatabase(), Impala::Core::Database::RawDataSet::GetFilePathImageArchive(), Impala::Core::Database::RawDataSet::GetFirstFileId(), Impala::Core::Database::RawDataSet::GetLocator(), ILOG_ERROR, mImList, mSplitArchive, mThumbSet, and Impala::Core::Array::WriteRawListVar().

00135     {
00136         if (!mSplitArchive)
00137             return;
00138 #ifndef REPOSITORY_USED // Here comes the deprecated stuff
00139         int fileId = mThumbSet->GetFirstFileId(dirId);
00140         String fName = mThumbSet->GetFilePathImageArchive(fileId, "images.raw",
00141                                                           true, false);
00142         if (!fName.empty())
00143         {
00144             Array::WriteRawListVar(mImList, fName, mThumbSet->GetDatabase(),
00145                                    true, true);
00146         }
00147         else
00148         {
00149             ILOG_ERROR("Unable to write split archive");
00150         }
00151 #else // REPOSITORY_USED
00152         String container = mThumbSet->GetContainerDir(dirId);
00153         Persistency::ImageArchiveLocator loc(mThumbSet->GetLocator(), false,
00154                                              container, "images.raw", 0);
00155         Array::ImageArchiveMemory wrapper(&mImList);
00156         Persistency::ImageArchiveRepository().Add(loc, &wrapper);
00157 #endif // REPOSITORY_USED
00158         Array::ArrayListDelete(&mImList);
00159     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:15:28 2010 for ImpalaSrc by  doxygen 1.5.1