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

String Impala::Util::Database::GetReadableFileLocal ( StringListCI  begin,
StringListCI  end,
CString  file,
bool  silent 
) [inline, private]

Definition at line 380 of file Database.h.

References Impala::Util::IOBufferFile::FileExists(), ILOG_DEBUG, ILOG_ERROR, and ILOG_INFO.

Referenced by GetReadableFile().

00382     {
00383         StringListCI i;
00384         for (i=begin ; i!=end ; i++)
00385         {
00386             String path = *i + "/" + file;
00387             ILOG_DEBUG("GetReadableFile: trying " << path);
00388             if (IOBufferFile::FileExists(path))
00389                 return path;
00390         }
00391 
00392         if (!silent)
00393         {
00394             ILOG_ERROR("Unable to find " << file << " in path ");
00395             for (i=begin ; i!=end ; i++)
00396                 ILOG_INFO("    " << *i);
00397         }
00398         return String("");
00399     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:39:57 2010 for ImpalaSrc by  doxygen 1.5.1