#include <algorithms.h>
Classes | |
struct | PackageKill |
Public Member Functions | |
pkgProblemResolver (pkgDepCache *Cache) | |
~pkgProblemResolver () | |
void | Clear (pkgCache::PkgIterator Pkg) |
void | InstallProtect () |
void | Protect (pkgCache::PkgIterator Pkg) |
void | Remove (pkgCache::PkgIterator Pkg) |
bool | Resolve (bool BrokenFix=false) |
bool | ResolveByKeep () |
Protected Member Functions | |
bool | InstOrNewPolicyBroken (pkgCache::PkgIterator Pkg) |
Private Types | |
typedef pkgCache::DepIterator | DepIterator |
enum | Flags { Protected = (1 << 0), PreInstalled = (1 << 1), Upgradable = (1 << 2), ReInstateTried = (1 << 3), ToRemove = (1 << 4) } |
typedef pkgCache::Package | Package |
typedef pkgCache::PkgIterator | PkgIterator |
typedef pkgCache::PrvIterator | PrvIterator |
typedef pkgCache::VerIterator | VerIterator |
typedef pkgCache::Version | Version |
Private Member Functions | |
bool | DoUpgrade (pkgCache::PkgIterator Pkg) |
void | MakeScores () |
bool | ResolveByKeepInternal () |
bool | ResolveInternal (bool const BrokenFix=false) |
Static Private Member Functions | |
static int | ScoreSort (const void *a, const void *b) |
Private Attributes | |
pkgDepCache & | Cache |
void * | d |
dpointer placeholder (for later in case we need it) More... | |
bool | Debug |
unsigned char * | Flags |
int * | Scores |
Static Private Attributes | |
static pkgProblemResolver * | This |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
pkgProblemResolver::pkgProblemResolver | ( | pkgDepCache * | Cache | ) |
pkgProblemResolver::~pkgProblemResolver | ( | ) |
|
inline |
|
private |
void pkgProblemResolver::InstallProtect | ( | ) |
|
protected |
|
private |
|
inline |
References Cache, pkgDepCache::MarkProtected(), and Protected.
|
inline |
References ToRemove.
bool pkgProblemResolver::Resolve | ( | bool | BrokenFix = false | ) |
bool pkgProblemResolver::ResolveByKeep | ( | ) |
|
private |
|
private |
|
staticprivate |
|
private |
Referenced by Protect().
|
private |
dpointer placeholder (for later in case we need it)
|
private |
|
private |
|
private |
|
staticprivate |