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

void Impala::Application::Repository::DoDiffAllParameterFile (  ) 

Definition at line 2641 of file mainRepository.cpp.

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

Referenced by mainRepository().

02642 {
02643     typedef Util::PropertySet PropertySet;
02644     ILOG_VAR(Impala.Application.Repository.DoDiffAllParameterFile);
02645     CmdOptions& options = CmdOptions::GetInstance();
02646 
02647     ModelLocator loc1 = GetModelLocator(options, true);
02648     ModelLocator loc2 = GetModelLocator(options, false);
02649     KeywordList concepts = GetModelKeywordList(loc1);
02650     for (int i=0 ; i<concepts.size() ; i++)
02651     {
02652         ILOG_INFO("Checking " << i << " = " << concepts[i]);
02653         loc1.SetConcept(concepts[i]);
02654         std::vector<PropertySet*> v1 = *(AllParameterFileRepository().Get(loc1));
02655         loc2.SetConcept(concepts[i]);
02656         std::vector<PropertySet*> v2 = (*AllParameterFileRepository().Get(loc2));
02657         for (int p=0 ; p<v1.size() ; p++)
02658         {
02659             v1[p]->Diff(v2[p]);
02660             delete v1[p];
02661             delete v2[p];
02662         }
02663     }
02664 }

Here is the call graph for this function:


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