Definition at line 30 of file AnnotationTableSetRepository.h. References Impala::Persistency::AnnotationTableSetLocator::GetConceptSet(), and Impala::Persistency::AnnotationTableSetLocator::GetQuidClass(). Referenced by Add(). 00031 { 00032 KeywordListLocator keyListLoc(loc, loc.GetConceptSet()); 00033 if (!KeywordListRepository().Exists(keyListLoc)) 00034 return false; 00035 KeywordList keyList = *(KeywordListRepository().Get(keyListLoc)); 00036 00037 int nrFound = 0; 00038 AnnotationTableLocator tabLoc(loc, loc.GetQuidClass(), 00039 loc.GetConceptSet(), "dummy"); 00040 for (int i=0 ; i<keyList.size() ; i++) 00041 { 00042 tabLoc.SetKeyword(keyList[i]); 00043 if (AnnotationTableRepository().Exists(tabLoc)) 00044 nrFound++; 00045 } 00046 if (nrFound == 0) 00047 return false; 00048 return true; 00049 }
Here is the call graph for this function:
|