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

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

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     }


Generated on Thu Jan 13 09:23:25 2011 for ImpalaSrc by  doxygen 1.5.1