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

Impala::Persistency::VideoSetsRepository::VideoSetsRepository (  )  [inline, private]

Definition at line 141 of file VideoSetsRepository.h.

References GetFromFileSystem(), GetFromMonetDB(), Impala::CmdOptions::GetInstance(), Impala::Persistency::Locator::GetProtocol(), ILOG_DEBUG, ILOG_ERROR, and mIdMap.

00142     {
00143         CmdOptions& options = CmdOptions::GetInstance();
00144         Locator loc("config", options);
00145         ILOG_DEBUG("ctor: loc = " << loc);
00146         String protocol = loc.GetProtocol();
00147         if ((protocol == "file") || (protocol == "dataServer"))
00148         {
00149             GetFromFileSystem(loc);
00150         }
00151         else if (protocol == "mapi")
00152         {
00153             GetFromMonetDB(loc);
00154         }
00155         else if (protocol == "inMem")
00156         {
00157             mIdMap.Add(1, "volatile"); // repos contains one and only one video set
00158         }
00159         else
00160         {
00161             ILOG_ERROR("Get: unknown protocol: " << protocol);
00162         }
00163     }

Here is the call graph for this function:


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