Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

template<class LocatorType, class DataType, class RepositoryInFileType, class RepositoryInMonetType>
void Impala::Persistency::RepositoryDispatcher< LocatorType, DataType, RepositoryInFileType, RepositoryInMonetType >::Add ( const LocatorType &  loc,
DataType *  data 
) [inline]

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     }


Generated on Fri Mar 19 11:36:30 2010 for ImpalaSrc by  doxygen 1.5.1