Definition at line 188 of file mainMonetTest.cpp. References Impala::FileNameBase(), and ILOG_VAR. Referenced by DoCheckKeywords(), and MakeAnnotationTableSetMapi(). 00189 { 00190 ILOG_VAR(Impala.Samples.MonetTest.MakeKeywordMapi); 00191 00192 String vidSetBase = FileNameBase(vidSetName); 00193 String conceptSetBase = FileNameBase(conceptSet); 00194 String query = 00195 "select k.keyword_name \ 00196 from keyword k, keyword_set ks, keyword_sets kss, video_sets vss \ 00197 where vss.set_name = '" + vidSetBase + "' and \ 00198 kss.video_sets_id = vss.video_sets_id and \ 00199 kss.set_name = '" + conceptSetBase + "' and \ 00200 ks.keyword_sets_id = kss.keyword_sets_id and \ 00201 k.keyword_id = ks.keyword_id \ 00202 order by k.keyword_id;"; 00203 00204 KeywordList concepts; 00205 MapiHdl hdl = conn->QueryPartStart(query); 00206 if (hdl == 0) 00207 return concepts; 00208 00209 if (!conn->QueryPartFetchString(hdl, 0, concepts)) 00210 return concepts; 00211 00212 conn->QueryPartEnd(hdl); 00213 00214 return concepts; 00215 }
Here is the call graph for this function:
|