Definition at line 329 of file ImageSet.h. References Impala::Core::Database::RawDataSet::GetDatabase(), Impala::Core::Database::RawDataSet::GetFilePathImageArchive(), Impala::Core::Database::RawDataSet::GetFirstFileId(), Impala::Core::Database::RawDataSet::GetSetNameBase(), mArchives, mUseFileArchive, and mUseSplitArchive. Referenced by GetImage(), GetImageData(), and SetImageSrc(). 00330 { 00331 Array::ImageArchiveFile* res = 0; 00332 if (mArchives.GetElement(dirId, res)) 00333 return res; 00334 00335 if (mUseSplitArchive) 00336 { 00337 int fileId = GetFirstFileId(dirId); 00338 String fName = GetFilePathImageArchive(fileId, "images.raw", false, 00339 false); 00340 if (fName.empty()) 00341 return 0; 00342 res = new Array::ImageArchiveFile(fName, !mUseFileArchive, 00343 GetDatabase()); 00344 mArchives.AddElement(dirId, res); 00345 return res; 00346 } 00347 String fName = GetFilePathImageArchive(GetSetNameBase() + ".raw", false, 00348 false); 00349 if (fName.empty()) 00350 return 0; 00351 res = new Array::ImageArchiveFile(fName, !mUseFileArchive, GetDatabase()); 00352 mArchives.AddElement(0, res); 00353 return res; 00354 }
Here is the call graph for this function:
|