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

void Impala::Application::Repository::DoDiffFeatureTable (  ) 

Definition at line 1462 of file mainRepository.cpp.

References Impala::Persistency::FeatureLocator::GetContainer(), GetFeatureLocator(), Impala::CmdOptions::GetInstance(), GetRawDataSet(), ILOG_INFO, ILOG_VAR, and Impala::Persistency::FeatureLocator::SetContainer().

Referenced by mainRepository().

01463 {
01464     ILOG_VAR(Impala.Application.Repository.DoDiffFeatureTable);
01465     CmdOptions& options = CmdOptions::GetInstance();
01466 
01467     FeatureLocator loc1 = GetFeatureLocator(options, true);
01468     FeatureLocator loc2 = GetFeatureLocator(options, false);
01469     RawDataSet* dataSet = GetRawDataSet(options, true);
01470     String container = loc1.GetContainer();
01471     int nrContainers = (container == "ALL") ? dataSet->GetNrContainers() : 1;
01472     for (int i=0 ; i<nrContainers ; i++)
01473     {
01474         String cur = (container == "ALL") ? dataSet->GetContainer(i) : container;
01475         ILOG_INFO("Checking " << i << " = " << cur);
01476         loc1.SetContainer(cur);
01477         FeatureTable* tab1 = FeatureTableRepository().Get(loc1);
01478         loc2.SetContainer(cur);
01479         FeatureTable* tab2 = FeatureTableRepository().Get(loc2);
01480         tab1->Diff(tab2);
01481         delete tab2;
01482         delete tab1;
01483     }
01484 }

Here is the call graph for this function:


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