template<class LocatorType, class DataType, class RepositoryInFileType, class RepositoryInMonetType>
Definition at line 26 of file RepositoryDispatcher.h. 00027 { 00028 String protocol = loc.GetProtocol(); 00029 if ((protocol == "file") || (protocol == "dataServer")) 00030 { 00031 return mRepFile.Get(loc); 00032 } 00033 if (protocol == "mapi") 00034 { 00035 return mRepMonet.Get(loc); 00036 } 00037 ILOG_ERROR("Get: unknown protocol: [" << loc.GetProtocol() << "] in " 00038 << loc); 00039 return 0; 00040 }
|