Home || Architecture || Video Search || Visual Search || Scripts || Applications || 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 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     }


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