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