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

RawDataSet* Impala::Application::Repository::GetRawDataSet ( String  locString,
String  setName,
bool  required 
)

Definition at line 64 of file mainRepository.cpp.

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

Referenced by DoCopyFeatureTable(), DoCopyImageArchive(), DoCopyKernelMatrix(), DoCopySimilarityTableSet(), DoDeleteFeatureTable(), DoDeleteImageArchive(), DoDeleteKernelMatrix(), DoDeleteSimilarityTableSet(), DoDiffFeatureTable(), DoDiffImageArchive(), DoDiffKernelMatrix(), DoDiffSimilarityTableSet(), DoDumpAnnotationTable(), DoDumpAnnotationTableSet(), DoDumpFeatureTable(), DoDumpFold(), DoDumpImageArchive(), DoDumpKernelMatrix(), DoDumpQuidTable(), DoDumpSimilarityTableSet(), DoKernelMatrix2SimilarityTable(), DoKernelMatrix2Text(), DoMergeSimilarityTableSet(), DoSetQuidSetFeatureTable(), and GetRawDataSet().

00065 {
00066     ILOG_VAR(Impala.Application.Repository.GetRawDataSet);
00067 
00068     Locator loc(locString, setName);
00069     RawDataSet* dataSet = 0;
00070     if (VideoSetsRepository::GetInstance().Contains(setName))
00071     {
00072         if (required)
00073             dataSet = VideoSetRepository().Get(loc);
00074         else if (VideoSetRepository().Exists(loc))
00075             dataSet = VideoSetRepository().Get(loc);
00076     }
00077     else if (ImageSetsRepository::GetInstance().Contains(setName))
00078     {
00079         ImageSetLocator imSetLoc(loc, "");
00080         if (required)
00081             dataSet = ImageSetRepository().Get(imSetLoc);
00082         else if (ImageSetRepository().Exists(imSetLoc))
00083             dataSet = ImageSetRepository().Get(imSetLoc);
00084     }
00085     else if (required)
00086     {
00087         ILOG_ERROR("Could not find " << loc);
00088     }
00089     return dataSet;
00090 }

Here is the call graph for this function:


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