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

KeywordList Impala::Application::Repository::GetModelKeywordList ( const ModelLocator &  modelLoc  ) 

Definition at line 2397 of file mainRepository.cpp.

References Impala::Persistency::ModelLocator::GetConcept(), Impala::Persistency::ModelLocator::GetConceptSet(), ILOG_ERROR, and ILOG_VAR.

Referenced by DoCopyBestFile(), DoCopyModel(), DoCopySvmProblem(), DoDeleteModel(), DoDeleteSvmProblem(), DoDiffAllParameterFile(), DoDiffBestFile(), DoDiffFikSvm(), DoDiffModel(), DoDiffScoreFile(), DoDiffSvmProblem(), DoDumpBestFile(), DoDumpFikSvm(), DoDumpModel(), and DoDumpSvmProblem().

02398 {
02399     ILOG_VAR(Impala.Application.Repository.GetModelKeywordList);
02400 
02401     KeywordList res;
02402     String concept = modelLoc.GetConcept();
02403     if (concept == "ALL")
02404     {
02405         KeywordListLocator keyLoc(modelLoc, modelLoc.GetConceptSet());
02406         KeywordList* list = KeywordListRepository().Get(keyLoc);
02407         if(list)
02408         {
02409             res = *list;
02410             delete list;
02411             if (res.size() == 0)
02412                 ILOG_ERROR("No keywords found");
02413         }
02414         else
02415         {
02416             ILOG_ERROR("keyword list not found");
02417         }
02418     }
02419     else
02420     {
02421         res.push_back(concept);
02422     }
02423     return res;
02424 }

Here is the call graph for this function:


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