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

void Impala::Persistency::SvmRepositoryInFile::Delete ( const ModelLocator loc  )  [inline]

Definition at line 95 of file SvmRepositoryInFile.h.

References Impala::Persistency::File::Delete(), Impala::Persistency::RepositoryInFileSystem::DeleteDir(), Impala::Persistency::ModelLocator::GetConcept(), Impala::Persistency::ModelLocator::GetConceptSet(), GetDir(), Impala::Persistency::RepositoryInFileSystem::GetFile(), and RepFS().

00096     {
00097         if (loc.GetConceptSet() == "ALL")
00098         {
00099             String dir = GetDir(loc, true);
00100             RepFS().DeleteDir(loc, dir);
00101         }
00102         else
00103         {
00104             String dir = GetDir(loc, false);
00105             File file = RepFS().GetFile(loc, dir, loc.GetConcept() + ".model",
00106                                         true, true);
00107             file.Delete();
00108         }
00109     }

Here is the call graph for this function:


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