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

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

Definition at line 286 of file FileSystem.h.

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

Referenced by GetReadableFile().

00288     {
00289         StringListCI i;
00290         for (i=begin ; i!=end ; i++)
00291         {
00292             String path = FileNameConcat(*i, file);
00293             ILOG_DEBUG("GetReadableFile: trying " << path);
00294             if (Util::IOBufferFile::FileExists(path))
00295                 return path;
00296         }
00297 
00298         if (!silent)
00299         {
00300             ILOG_ERROR("Unable to find " << file << " in path ");
00301             for (i=begin ; i!=end ; i++)
00302                 ILOG_INFO("    " << *i);
00303         }
00304         return String("");
00305     }

Here is the call graph for this function:


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