Definition at line 25 of file Thumbnails.h. References Impala::atof(), Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), Impala::Core::ImageSet::MakeImageSet(), mArchive, mBuf, mBufSize, mFirstImHeight, mFirstImWidth, mReporter, mRkfMask, mScale, mSplitArchive, mThumbSet, and Impala::Core::ImageSet::Reporter::SetReportArray(). 00026 { 00027 mReporter = reporter; 00028 mThumbSet = MakeImageSet(options.GetArg(2)); 00029 mScale = 0.5; 00030 if (options.GetNrArg() > 3) 00031 mScale = atof(options.GetArg(3)); 00032 mArchive = false; 00033 mSplitArchive = false; 00034 if (options.GetNrArg() > 4) 00035 { 00036 if (options.GetArg(4) == "archive") 00037 mArchive = true; 00038 if (options.GetArg(4) == "split") 00039 mSplitArchive = true; 00040 mReporter->SetReportArray(false); // we will cause a "memory leak" 00041 } 00042 mRkfMask = false; 00043 if (options.GetNrArg() > 5) 00044 { 00045 if (options.GetArg(5) == "rkf") 00046 mRkfMask = true; 00047 } 00048 mFirstImWidth = -1; 00049 mFirstImHeight = -1; 00050 mBufSize = 100000; 00051 mBuf = new char[mBufSize]; 00052 }
Here is the call graph for this function:
|