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

bool Impala::Core::Table::BayesFusion::LoadConceptGenreNumFromAnnotation ( String  name,
int &  nRow,
int &  nCol 
) [inline]

Definition at line 339 of file BayesFusion.h.

References Impala::Core::Database::RawDataSet::GetFilePathAnnotation(), and Impala::Core::Table::Bayes::mAnnoVidSet.

00340     {
00341         std::string fName = mAnnoVidSet->GetFilePathAnnotation(name,false,false);
00342         FILE* fp = fopen(fName.c_str(),"rb");
00343 
00344         if (NULL == fp)
00345         {
00346             std::cout << "File does NOT exist: " << name << "" << std::endl;
00347             return false;
00348         }
00349 
00350         fread(&nRow, sizeof(int), 1, fp);  //mConceptNum
00351         fread(&nCol, sizeof(int), 1, fp);  //mGenreNum
00352 
00353         fclose(fp);
00354 
00355         return true;
00356 
00357     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:20:30 2010 for ImpalaSrc by  doxygen 1.5.1