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

ImageSet* Impala::Application::Repository::GetImageSet ( String  locString,
String  setName,
bool  required 
)

Definition at line 104 of file mainRepository.cpp.

References Impala::Core::Column::Contains(), Impala::Persistency::ImageSetsRepository::GetInstance(), ILOG_ERROR, and ILOG_VAR.

Referenced by DoCopyImageSet(), DoDiffImageSet(), DoDumpImageSet(), DoSyncImageFiles(), and GetImageSet().

00105 {
00106     ILOG_VAR(Impala.Application.Repository.GetImageSet);
00107 
00108     ImageSetLocator loc(locString, setName);
00109     ImageSet* imSet = 0;
00110     if (ImageSetsRepository::GetInstance().Contains(setName))
00111     {
00112         if (required)
00113             imSet = ImageSetRepository().Get(loc);
00114         else if (ImageSetRepository().Exists(loc))
00115             imSet = ImageSetRepository().Get(loc);
00116     }
00117     else if (required)
00118     {
00119         ILOG_ERROR("Could not find " << loc);
00120     }
00121     return imSet;
00122 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:44 2011 for ImpalaSrc by  doxygen 1.5.1