Definition at line 528 of file mainTrecSearch.cpp. References Impala::Core::ImageSet::MakeImageSet(), Impala::MakeString(), mSearchTopic, mSearchTopicImages, mSearchTopicThumbnails, mTrecTopic, mTrecTopicSetName, and mYear. Referenced by InitData(). 00529 { 00530 mTrecTopic = 0; 00531 mSearchTopic = 0; 00532 if (! mTrecTopicSetName.empty()) 00533 { 00534 mTrecTopic = new Core::Trec::TrecTopic(mTrecTopicSetName, 00535 MakeString(mYear)); 00536 mSearchTopic = mTrecTopic; 00537 } 00538 else 00539 { 00540 Core::ImageSet::ImageSet* imSet = 0; 00541 Core::ImageSet::ImageSet* thumbSet = 0; 00542 if (! mSearchTopicImages.empty()) 00543 imSet = Core::ImageSet::MakeImageSet(mSearchTopicImages); 00544 if (! mSearchTopicThumbnails.empty()) 00545 thumbSet = Core::ImageSet::MakeImageSet(mSearchTopicThumbnails); 00546 if (imSet || thumbSet) 00547 mSearchTopic = new Core::Trec::SearchTopic(imSet, thumbSet, 0); 00548 } 00549 }
Here is the call graph for this function:
|