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

void Impala::Application::Repository::DoCopyModel (  ) 

Definition at line 2604 of file mainRepository.cpp.

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

Referenced by mainRepository().

02605 {
02606     ILOG_VAR(Impala.Application.Repository.DoCopyDiffModel);
02607     CmdOptions& options = CmdOptions::GetInstance();
02608 
02609     ModelLocator loc1 = GetModelLocator(options, true);
02610     ModelLocator loc2 = GetModelLocator(options, false);
02611     KeywordList concepts = GetModelKeywordList(loc1);
02612     for (int i=0 ; i<concepts.size() ; i++)
02613     {
02614         loc1.SetConcept(concepts[i]);
02615         Svm* svm = SvmRepository().Get(loc1);
02616         loc2.SetConcept(concepts[i]);
02617         SvmRepository().Add(loc2, svm);
02618         delete svm;
02619     }
02620 }

Here is the call graph for this function:


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