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

String Impala::Core::Database::RawDataSet::GetFilePathMetaData ( int  fileId,
String  metaName,
bool  useDbFile,
String  suffix,
bool  toWrite,
bool  silent 
) [inline]

Get a file in the DB_DIR/DB_FILE/metaName directory in MetaData.

metaName may be "" The file itself is named DB_FILEsuffix or suffix depending upon useDbFile

Definition at line 479 of file RawDataSet.h.

References GetAsPath(), GetFileBase(), Impala::Util::Database::GetFilePath(), MakeDir(), and mDb.

00481     {
00482         String dir = "MetaData/" + GetAsPath(fileId) + "/" + metaName;
00483         if (toWrite)
00484             MakeDir(dir);
00485         String fName = ((useDbFile) ? GetFileBase(fileId) : "") + suffix;
00486         return mDb->GetFilePath(dir, fName, toWrite, silent);
00487     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:07:41 2010 for ImpalaSrc by  doxygen 1.5.1