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

void Impala::Application::Repository::DoDeleteModel (  ) 

Definition at line 2623 of file mainRepository.cpp.

References Impala::Persistency::ModelLocator::GetConceptSet(), Impala::CmdOptions::GetInstance(), GetModelKeywordList(), GetModelLocator(), and ILOG_VAR.

Referenced by mainRepository().

02624 {
02625     ILOG_VAR(Impala.Application.Repository.DoDeleteModel);
02626     CmdOptions& options = CmdOptions::GetInstance();
02627 
02628     ModelLocator loc = GetModelLocator(options, true);
02629     if (loc.GetConceptSet() == "ALL") // This is a bit rude, use with care
02630         return SvmRepository().Delete(loc);
02631 
02632     KeywordList concepts = GetModelKeywordList(loc);
02633     for (int i=0 ; i<concepts.size() ; i++)
02634     {
02635         loc.SetConcept(concepts[i]);
02636         SvmRepository().Delete(loc);
02637     }
02638 }

Here is the call graph for this function:


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