15 bool doesNotHaveNumbers(
const std::string& numberString) {
16 return (numberString.empty() or numberString.find_first_of(
"0123456789") == std::string::npos);
33 if (
result.empty())
return false;
48 if (doesNotHaveNumbers(defectList))
return;
51 std::istringstream is{defectList};
52 std::istream_iterator<std::string> readString{is};
53 std::istream_iterator<std::string> endOfString;
54 for (; readString != endOfString; ++readString) {
55 const std::string& stringRange{*readString};
57 if (
p!=std::string::npos) {
58 std::string::size_type len1{
p++};
59 std::string::size_type len2{stringRange.size()-
p};
60 int min{std::stoi(stringRange.substr(0, len1))};
61 int max{std::stoi(stringRange.substr(
p, len2))};
66 int strip{std::stoi(*readString)};
108 if (
strip<0)
return false;
124 if (
strip<0)
return false;
136 return m_badStripArray[moduleIndex][waferIndex][chipIndex].test(stripIndex);