Definition at line 957 of file mainRepository.cpp. References Impala::Persistency::SimilarityTableSetLocator::GetContainer(), Impala::CmdOptions::GetInstance(), GetSimilarityTableSetLocator(), GetVideoSet(), ILOG_VAR, and Impala::Persistency::SimilarityTableSetLocator::SetContainer(). Referenced by mainRepository(). 00958 { 00959 ILOG_VAR(Impala.Application.Repository.DoDiffSimilarityTableSet); 00960 CmdOptions& options = CmdOptions::GetInstance(); 00961 00962 SimilarityTableSetLocator loc1 = GetSimilarityTableSetLocator(options, true); 00963 SimilarityTableSetLocator loc2 = GetSimilarityTableSetLocator(options, false); 00964 VideoSet* vidSet = GetVideoSet(options, true); 00965 String container = loc1.GetContainer(); 00966 int nrFiles = (container == "ALL") ? vidSet->NrFiles() : 1; 00967 for (int i=0 ; i<nrFiles ; i++) 00968 { 00969 String cur = (container == "ALL") ? vidSet->GetFile(i) : container; 00970 loc1.SetContainer(cur); 00971 SimilarityTableSet* simSet1 = SimilarityTableSetRepository().Get(loc1); 00972 00973 loc2.SetContainer(cur); 00974 SimilarityTableSet* simSet2 = SimilarityTableSetRepository().Get(loc2); 00975 simSet1->Diff(simSet2); 00976 delete simSet2; 00977 delete simSet1; 00978 } 00979 }
Here is the call graph for this function:
|