49 std::string RelVerStr;
50 bool RelVerPrefixMatch;
51 std::string RelOrigin;
52 std::string RelRelease;
53 std::string RelCodename;
54 std::string RelArchive;
56 std::string RelComponent;
57 std::string RelArchitecture;
65 enum MatchType {None = 0,Version,Release,Origin, SourceVersion} Type;
67 bool MatchVer(
const char *A,std::string B,
bool Prefix) APT_PURE;
68 static bool ExpressionMatches(
const char *pattern,
const char *
string);
69 static bool ExpressionMatches(
const std::string& pattern,
const char *
string);
70 bool FileMatch(pkgCache::PkgFileIterator File);
71 bool FileMatch(pkgCache::RlsFileIterator
const &File);
72 pkgCache::VerIterator Find(pkgCache::PkgIterator Pkg);
73 bool VersionMatches(pkgCache::VerIterator Ver);