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

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

Definition at line 26 of file RepositoryDispatcher.h.

Referenced by Impala::Persistency::RawDataSetRepository::Get(), and Impala::Persistency::RepositoryDispatcher< Impala::Persistency::SegmentationLocator, Impala::Core::VideoSet::Segmentation, Impala::Persistency::SegmentationRepositoryInFile, Impala::Persistency::SegmentationRepositoryInMonet >::Sync().

00027     {
00028         String protocol = loc.GetProtocol();
00029         if ((protocol == "file") || (protocol == "dataServer"))
00030         {
00031             return mRepFile.Exists(loc);
00032         }
00033         /*
00034         if (protocol == "mapi")
00035         {
00036             return mRepMonet.Get(loc);
00037         }
00038         */
00039         ILOG_ERROR("Exists: unknown protocol: [" << loc.GetProtocol() << "] in "
00040                    << loc);
00041         return false;
00042     }


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