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

void Impala::Samples::MonetTest::DoInsertVideoSets ( Connection *  conn  ) 

Definition at line 494 of file mainMonetTest.cpp.

References Impala::Persistency::VideoSetsRepository::GetAllId(), Impala::Persistency::VideoSetsRepository::GetInstance(), Impala::Persistency::VideoSetsRepository::GetSetName(), ILOG_INFO, ILOG_VAR, and Impala::MakeString().

Referenced by mainMonetTest().

00495 {
00496     ILOG_VAR(Impala.Samples.MonetTest.DoInsertVideoSets);
00497 
00498     VideoSetsRepository& rep = VideoSetsRepository::GetInstance();
00499     std::vector<int> ids = rep.GetAllId();
00500     for (int i=0 ; i<ids.size() ; i++)
00501     {
00502         String name = rep.GetSetName(ids[i]);
00503         String q = "select i_add_video_set(" + MakeString(ids[i])
00504             + ", '" + name + "');";
00505         ILOG_INFO("q = [" + q + "]");
00506         conn->Query(q, false, false);
00507     }
00508 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:38:16 2010 for ImpalaSrc by  doxygen 1.5.1