Definition at line 20 of file CheckSizes.h. References Impala::atol(), Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), ILOG_DEBUG, ILOG_ERROR, mMaxHeight, mMaxWidth, mMinHeight, mMinWidth, mNewSet, mReporter, and mWriteCorrected. 00021 { 00022 mReporter = reporter; 00023 mMinWidth = 100; 00024 mMaxWidth = 2000; 00025 mMinHeight = 100; 00026 mMaxHeight = 2000; 00027 mWriteCorrected = false; 00028 mNewSet = 0; 00029 if (options.GetNrArg() != 7) 00030 { 00031 ILOG_ERROR("Need 7 arguments"); 00032 } 00033 else 00034 { 00035 mMinWidth = atol(options.GetArg(2)); 00036 mMaxWidth = atol(options.GetArg(3)); 00037 mMinHeight = atol(options.GetArg(4)); 00038 mMaxHeight = atol(options.GetArg(5)); 00039 mWriteCorrected = atol(options.GetArg(6)) != 0; 00040 } 00041 ILOG_DEBUG("range: width: " << mMinWidth << " - " << mMaxWidth 00042 << ", height: " << mMinHeight << " - " << mMaxHeight); 00043 }
Here is the call graph for this function:
|