Definition at line 43 of file RgbDataSrcInfo.h. References DumpIndex(), Impala::Persistency::RgbDataSrcLocator::GetName(), InitInfo(), mInfoPath, mLoc, Impala::Core::Stream::RgbDataSrc::mNewImpl, ReadInfo(), and Impala::Core::Stream::RgbDataSrc::RgbDataSrc(). Referenced by Impala::Core::Stream::RgbDataSrcLavc::RgbDataSrcLavc(). 00045 : RgbDataSrc(src, srcName), mDb(db) 00046 { 00047 #else // REPOSITORY_USED 00048 RgbDataSrcInfo(int src, const Persistency::RgbDataSrcLocator& loc, 00049 CString infoName = "", bool newImpl = false) 00050 : RgbDataSrc(src, loc.GetName()) 00051 { 00052 String srcName = loc.GetName(); 00053 mLoc = loc; 00054 #endif // REPOSITORY_USED 00055 mNewImpl = newImpl; 00056 00057 //Determine the Info file path 00058 if (infoName.empty()) 00059 { 00060 #ifdef USE_IFILE 00061 int posAfterProtocol = srcName.find(":") + 1; 00062 mInfoPath = srcName.substr(posAfterProtocol) + ".info"; 00063 #else 00064 mInfoPath = srcName + ".info"; 00065 #endif 00066 } 00067 else 00068 mInfoPath = infoName; 00069 00070 InitInfo(); 00071 00072 // SK: Note that the following lines use 'magic numbers' in stead 00073 // of using corresponding symbolic constants from RgbDataSrcFactory 00074 // which would create a mutual dependency between the two classes. 00075 // To be refactored. 00076 if ((src == 18) || (src == 19)) 00077 ReadInfo(); 00078 if (src == 19) 00079 DumpIndex(); 00080 }
Here is the call graph for this function:
|