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

String Impala::Core::Trec::SearchTopic::GetImageExampleName ( int  topic,
int  example,
bool  thumbnail,
bool  toWrite = false 
) [inline]

Definition at line 138 of file SearchTopic.h.

References Impala::Core::Database::RawDataSet::GetFilePathImageData(), Impala::Core::Database::RawDataSet::GetFirstFileId(), ILOG_ERROR, mImages, and mThumbnails.

00140     {
00141 #ifndef REPOSITORY_USED // Here comes the deprecated stuff
00142         if (thumbnail)
00143         {
00144             int fileId = mThumbnails->GetFirstFileId(topic) + example;
00145             return mThumbnails->GetFilePathImageData(fileId, toWrite, false);
00146         }
00147         int fileId = mImages->GetFirstFileId(topic) + example;
00148         return mImages->GetFilePathImageData(fileId, toWrite, false);
00149 #else // REPOSITORY_USED
00150         ILOG_ERROR("Not implemented yet");
00151         return "";
00152 #endif // REPOSITORY_USED
00153     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:25:47 2010 for ImpalaSrc by  doxygen 1.5.1