Definition at line 606 of file mainRepository.cpp. References Impala::Persistency::FeatureLocator::GetContainer(), GetFeatureLocator(), Impala::CmdOptions::GetInstance(), GetVideoSet(), ILOG_VAR, and Impala::Persistency::FeatureLocator::SetContainer(). Referenced by mainRepository(). 00607 { 00608 ILOG_VAR(Impala.Application.Repository.DoDiffFeatureTable); 00609 CmdOptions& options = CmdOptions::GetInstance(); 00610 00611 FeatureLocator loc1 = GetFeatureLocator(options, true); 00612 FeatureLocator loc2 = GetFeatureLocator(options, false); 00613 VideoSet* vidSet = GetVideoSet(options, true); 00614 String container = loc1.GetContainer(); 00615 int nrFiles = (container == "ALL") ? vidSet->NrFiles() : 1; 00616 for (int i=0 ; i<nrFiles ; i++) 00617 { 00618 String cur = (container == "ALL") ? vidSet->GetFile(i) : container; 00619 loc1.SetContainer(cur); 00620 FeatureTable* tab1 = FeatureTableRepository().Get(loc1); 00621 loc2.SetContainer(cur); 00622 FeatureTable* tab2 = FeatureTableRepository().Get(loc2); 00623 tab1->Diff(tab2); 00624 delete tab2; 00625 delete tab1; 00626 } 00627 }
Here is the call graph for this function:
|