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

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

Completed given DB_DIR in a "normal" walk.

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

Definition at line 67 of file Archive.h.

References Impala::Core::Array::ArrayListDelete(), mImList, mSplit, and Impala::Core::Array::WriteRawListVar().

00068     {
00069         if (!mSplit)
00070             return;
00071 #ifndef REPOSITORY_USED // Here comes the deprecated stuff
00072         int fileId = is->GetFirstFileId(dirId);
00073         String fName = is->GetFilePathImageArchive(fileId, "images.raw", true,
00074                                                    false);
00075         Array::WriteRawListVar(mImList, fName, is->GetDatabase(), true, true);
00076 #else // REPOSITORY_USED
00077         String container = is->GetContainerDir(dirId);
00078         Persistency::ImageArchiveLocator loc(is->GetLocator(), false,
00079                                              container, "images.raw", 0);
00080         Array::ImageArchiveMemory wrapper(&mImList);
00081         Persistency::ImageArchiveRepository().Add(loc, &wrapper);
00082 #endif // REPOSITORY_USED
00083         Array::ArrayListDelete(&mImList);
00084     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:13:58 2010 for ImpalaSrc by  doxygen 1.5.1