template<class LocatorType, class DataType, class RepositoryInFileType, class RepositoryInMonetType>
Definition at line 26 of file RepositoryDispatcher.h. Referenced by Impala::Persistency::RawDataSetRepository::Get(), and Impala::Persistency::RepositoryDispatcher< Impala::Persistency::SegmentationLocator, Impala::Core::VideoSet::Segmentation, Impala::Persistency::SegmentationRepositoryInFile, Impala::Persistency::SegmentationRepositoryInMonet >::Sync(). 00027 { 00028 String protocol = loc.GetProtocol(); 00029 if ((protocol == "file") || (protocol == "dataServer")) 00030 { 00031 return mRepFile.Exists(loc); 00032 } 00033 /* 00034 if (protocol == "mapi") 00035 { 00036 return mRepMonet.Get(loc); 00037 } 00038 */ 00039 ILOG_ERROR("Exists: unknown protocol: [" << loc.GetProtocol() << "] in " 00040 << loc); 00041 return false; 00042 }
|