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

String Impala::Core::ImageSet::ImageSet::GetFilePathId ( String  base,
String  subDir,
int  fileId,
bool  useDbFileDir,
bool  useDbFile,
String  suffix,
bool  toWrite 
) [inline]

Get a file in the base/DB_DIR/DB_FILE/subDir directory.

if (!makeDbFile) the DB_FILE part is "skipped" subDir may be "" The file itself is named DB_FILEsuffix or suffix depending upon useDbFile

Definition at line 258 of file ImageSet.h.

References Impala::Core::Database::RawDataSet::GetDirOfFile(), Impala::Core::Database::RawDataSet::GetFile(), Impala::Core::Database::RawDataSet::GetFileBase(), Impala::Util::Database::GetFilePath(), Impala::Core::Database::RawDataSet::GetSectionOfFile(), and Impala::Core::Database::RawDataSet::mDb.

00261     {
00262         String dbFileDir = (useDbFileDir) ? GetFile(fileId) : "";
00263         String fName = (useDbFile) ? GetFileBase(fileId) : "";
00264         return mDb->GetFilePath(base,  subDir, GetSectionOfFile(fileId),
00265                                 GetDirOfFile(fileId), dbFileDir,
00266                                 fName + suffix, toWrite, false);
00267     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:00 2011 for ImpalaSrc by  doxygen 1.5.1