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

void Impala::Persistency::Mpeg7DocRepositoryInFile::Delete ( const Mpeg7DocLocator loc  )  [inline]

Definition at line 57 of file Mpeg7DocRepositoryInFile.h.

References Impala::Persistency::File::Delete(), Impala::Persistency::RepositoryInFileSystem::DeleteDir(), Impala::Persistency::Mpeg7DocLocator::GetContainer(), GetDir(), Impala::Persistency::RepositoryInFileSystem::GetFile(), Impala::Persistency::Mpeg7DocLocator::GetName(), and RepFS().

00058     {
00059         if (loc.GetContainer() == "ALL")
00060         {
00061             String dir = GetDir(loc, true);
00062             RepFS().DeleteDir(loc, dir);
00063         }
00064         else
00065         {
00066             String dir = GetDir(loc, false);
00067             File file = RepFS().GetFile(loc, dir, loc.GetName(), true, true);
00068             file.Delete();
00069         }
00070     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:23:23 2011 for ImpalaSrc by  doxygen 1.5.1