template<class LocatorType, class DataType, class RepositoryInFileType, class RepositoryInMonetType>
Definition at line 45 of file RepositoryDispatcher.h. 00046 { 00047 String protocol = loc.GetProtocol(); 00048 if ((protocol == "file") || (protocol == "dataServer")) 00049 { 00050 return mRepFile.Get(loc); 00051 } 00052 if (protocol == "mapi") 00053 { 00054 return mRepMonet.Get(loc); 00055 } 00056 ILOG_ERROR("Get: unknown protocol: [" << loc.GetProtocol() << "] in " 00057 << loc); 00058 return 0; 00059 }
|