#include <orderlist.h>
Public Types | |
enum | Flags { Added = (1 << 0), AddPending = (1 << 1), Immediate = (1 << 2), Loop = (1 << 3), UnPacked = (1 << 4), Configured = (1 << 5), Removed = (1 << 6), InList = (1 << 7), After = (1 << 8), States = (UnPacked | Configured | Removed) } |
typedef Package ** | iterator |
Public Member Functions | |
pkgOrderList (pkgDepCache *Cache) | |
~pkgOrderList () | |
iterator | begin () |
bool | empty () |
iterator | end () |
void | Flag (PkgIterator Pkg, unsigned long State, unsigned long F) |
void | Flag (PkgIterator Pkg, unsigned long F) |
void | Flag (Package *Pkg, unsigned long F) |
bool | IsFlag (PkgIterator Pkg, unsigned long F) |
bool | IsFlag (Package *Pkg, unsigned long F) |
bool | IsMissing (PkgIterator Pkg) |
bool | IsNow (PkgIterator Pkg) |
bool | OrderConfigure () |
bool | OrderCritical () |
bool | OrderUnpack (std::string *FileList=0) |
void | pop_back () |
void | push_back (Package *Pkg) |
void | push_back (PkgIterator Pkg) |
void | RmFlag (Package *Pkg, unsigned long F) |
int | Score (PkgIterator Pkg) |
void | SetFileList (std::string *FileList) |
unsigned int | size () |
void | WipeFlags (unsigned long F) |
Protected Types | |
typedef pkgCache::Dep | Dep |
typedef bool(pkgOrderList::* | DepFunc )(DepIterator D) |
typedef pkgCache::DepIterator | DepIterator |
typedef pkgCache::DescIterator | DescIterator |
typedef pkgCache::Description | Description |
typedef pkgCache::Flag | Flag |
typedef pkgCache::GrpIterator | GrpIterator |
typedef pkgCache::Header | Header |
typedef pkgCache::Package | Package |
typedef pkgCache::PkgFileIterator | PkgFileIterator |
typedef pkgCache::PkgIterator | PkgIterator |
typedef pkgCache::PrvIterator | PrvIterator |
typedef pkgCache::VerFileIterator | VerFileIterator |
typedef pkgCache::VerIterator | VerIterator |
typedef pkgCache::Version | Version |
Protected Member Functions | |
bool | AddLoop (DepIterator D) |
bool | CheckDep (DepIterator D) |
bool | DepConfigure (DepIterator D) |
bool | DepRemove (DepIterator D) |
bool | DepUnPackCrit (DepIterator D) |
bool | DepUnPackDep (DepIterator D) |
bool | DepUnPackPre (DepIterator D) |
bool | DepUnPackPreD (DepIterator D) |
bool | DoRun () |
int | FileCmp (PkgIterator A, PkgIterator B) |
bool | VisitDeps (DepFunc F, PkgIterator Pkg) |
__deprecated bool | VisitNode (PkgIterator Pkg) |
bool | VisitNode (PkgIterator Pkg, char const *from) |
bool | VisitProvides (DepIterator Pkg, bool Critical) |
bool | VisitRDeps (DepFunc F, PkgIterator Pkg) |
bool | VisitRProvides (DepFunc F, VerIterator Ver) |
Static Protected Member Functions | |
static int | OrderCompareA (const void *a, const void *b) |
static int | OrderCompareB (const void *a, const void *b) |
Protected Attributes | |
Package ** | AfterEnd |
pkgDepCache & | Cache |
bool | Debug |
int | Depth |
Package ** | End |
std::string * | FileList |
unsigned short * | Flags |
Package ** | List |
int | LoopCount |
DepIterator | Loops [20] |
DepFunc | Primary |
DepFunc | Remove |
DepFunc | RevDepends |
DepFunc | Secondary |
Static Protected Attributes | |
static pkgOrderList * | Me |
|
inherited |
|
protected |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
typedef Package** pkgOrderList::iterator |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
enum pkgOrderList::Flags |
pkgOrderList::pkgOrderList | ( | pkgDepCache * | Cache | ) |
pkgOrderList::~pkgOrderList | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool pkgOrderList::IsMissing | ( | PkgIterator | Pkg | ) |
|
inline |
|
staticprotected |
|
staticprotected |
bool pkgOrderList::OrderConfigure | ( | ) |
bool pkgOrderList::OrderCritical | ( | ) |
bool pkgOrderList::OrderUnpack | ( | std::string * | FileList = 0 | ) |
|
inline |
References End.
|
inline |
References End.
|
inline |
int pkgOrderList::Score | ( | PkgIterator | Pkg | ) |
|
inline |
References FileList.
|
protected |
|
inlineprotected |
References VisitNode().
Referenced by VisitNode().
|
protected |
|
protected |
|
protected |
|
protected |
void pkgOrderList::WipeFlags | ( | unsigned long | F | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by empty(), end(), pop_back(), push_back(), and size().
|
protected |
Referenced by SetFileList().
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |