Returns true for packages matching a regular expression in APT::NeverAutoRemove. More...
#include <depcache.h>
Public Member Functions | |
DefaultRootSetFunc () | |
virtual | ~DefaultRootSetFunc () |
bool | InRootSet (const pkgCache::PkgIterator &pkg) |
bool | Match (char const *str) const |
Returns true for a string matching one of the patterns. More... | |
bool | Match (std::string const &str) const |
bool | wasConstructedSuccessfully () const |
returns if the matcher setup was successful More... | |
Returns true for packages matching a regular expression in APT::NeverAutoRemove.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from pkgDepCache::InRootSetFunc.
References pkgCache::Iterator< Str, Itr >::end(), Configuration::MatchAgainstConfig::Match(), and pkgCache::PkgIterator::Name().
|
inherited |
Returns true for a string matching one of the patterns.
Referenced by InRootSet().
|
inlineinherited |
References Configuration::MatchAgainstConfig::Match().
Referenced by Configuration::MatchAgainstConfig::Match().
|
inlineinherited |
returns if the matcher setup was successful
References Configuration::MatchAgainstConfig::patterns.