#include <policy.h>
Classes | |
struct | Pin |
struct | PkgPin |
Public Member Functions | |
pkgPolicy (pkgCache *Owner) | |
virtual | ~pkgPolicy () |
void | CreatePin (pkgVersionMatch::MatchType Type, std::string Pkg, std::string Data, signed short Priority) |
virtual pkgCache::VerIterator | GetCandidateVer (pkgCache::PkgIterator const &Pkg) |
pkgCache::VerIterator | GetMatch (pkgCache::PkgIterator const &Pkg) |
virtual signed short | GetPriority (pkgCache::PkgIterator const &Pkg) |
virtual signed short | GetPriority (pkgCache::PkgFileIterator const &File) |
bool | InitDefaults () |
virtual bool | IsImportantDep (DepIterator const &Dep) |
Protected Attributes | |
pkgCache * | Cache |
std::vector< Pin > | Defaults |
signed short * | PFPriority |
Pin * | Pins |
bool | StatusOverride |
std::vector< PkgPin > | Unmatched |
pkgPolicy::pkgPolicy | ( | pkgCache * | Owner | ) |
|
inlinevirtual |
References PFPriority, and Pins.
void pkgPolicy::CreatePin | ( | pkgVersionMatch::MatchType | Type, |
std::string | Pkg, | ||
std::string | Data, | ||
signed short | Priority | ||
) |
|
virtual |
Reimplemented from pkgDepCache::Policy.
pkgCache::VerIterator pkgPolicy::GetMatch | ( | pkgCache::PkgIterator const & | Pkg | ) |
|
virtual |
Reimplemented from pkgDepCache::Policy.
|
virtual |
Reimplemented from pkgDepCache::Policy.
bool pkgPolicy::InitDefaults | ( | ) |
|
virtualinherited |
|
protected |
|
protected |
|
protected |
Referenced by ~pkgPolicy().
|
protected |
Referenced by ~pkgPolicy().
|
protected |
|
protected |