libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pkgDepCache::DefaultRootSetFunc Class Reference

Returns true for packages matching a regular expression in APT::NeverAutoRemove. More...

#include <depcache.h>

Inheritance diagram for pkgDepCache::DefaultRootSetFunc:
Collaboration diagram for pkgDepCache::DefaultRootSetFunc:

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...
 

Detailed Description

Returns true for packages matching a regular expression in APT::NeverAutoRemove.

Constructor & Destructor Documentation

pkgDepCache::DefaultRootSetFunc::DefaultRootSetFunc ( )
inline
virtual pkgDepCache::DefaultRootSetFunc::~DefaultRootSetFunc ( )
inlinevirtual

Member Function Documentation

bool pkgDepCache::DefaultRootSetFunc::InRootSet ( const pkgCache::PkgIterator pkg)
inlinevirtual
bool Configuration::MatchAgainstConfig::Match ( char const *  str) const
inherited

Returns true for a string matching one of the patterns.

Referenced by InRootSet().

Here is the caller graph for this function:

bool Configuration::MatchAgainstConfig::Match ( std::string const &  str) const
inlineinherited

References Configuration::MatchAgainstConfig::Match().

Referenced by Configuration::MatchAgainstConfig::Match().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Configuration::MatchAgainstConfig::wasConstructedSuccessfully ( ) const
inlineinherited

returns if the matcher setup was successful

References Configuration::MatchAgainstConfig::patterns.


The documentation for this class was generated from the following file: