BOOL md5EList::include(FileData &file) const { std::wstring calcHash = file.MD5(); if (calcHash[0] == L'!') return true; return std::binary_search(values.begin(),values.end(),calcHash); }
BOOL md5List::include(FileData &file) const { return std::binary_search(values.begin(),values.end(),file.MD5()); }
BOOL md5Match::include(FileData &file) const { return file.MD5() == md5Val; }