#include <pkgcache.h>
Classes | |
struct | Dep |
struct | Dependency |
information for a single dependency record More... | |
class | DepIterator |
struct | DescFile |
associates a description with a Translation file More... | |
class | DescFileIterator |
class | DescIterator |
struct | Description |
datamember of a linked list of available description for a version More... | |
struct | Flag |
struct | Group |
groups architecture depending packages together More... | |
class | GrpIterator |
struct | Header |
class | Iterator |
class | Namespace |
struct | Package |
contains information for a single unique package More... | |
struct | PackageFile |
stores information about the files used to generate the cache More... | |
class | PkgFileIterator |
class | PkgIterator |
struct | Provides |
handles virtual packages More... | |
class | PrvIterator |
struct | State |
struct | StringItem |
used for generating single instances of strings More... | |
struct | VerFile |
associates a version with a PackageFile More... | |
class | VerFileIterator |
class | VerIterator |
struct | Version |
information for a single version of a package More... | |
Public Member Functions | |
pkgCache (MMap *Map, bool DoMap=true) | |
virtual | ~pkgCache () |
void * | DataEnd () |
PkgFileIterator | FileBegin () |
PkgFileIterator | FileEnd () |
GrpIterator | FindGrp (const std::string &Name) |
PkgIterator | FindPkg (const std::string &Name) |
PkgIterator | FindPkg (const std::string &Name, const std::string &Arch) |
MMap & | GetMap () |
GrpIterator | GrpBegin () |
GrpIterator | GrpEnd () |
unsigned long | Hash (const std::string &S) const |
unsigned long | Hash (const char *S) const |
Header & | Head () |
bool | MultiArchCache () const |
char const *const | NativeArch () const |
PkgIterator | PkgBegin () |
PkgIterator | PkgEnd () |
const char * | Priority (unsigned char Priority) |
virtual bool | ReMap (bool const &Errorchecks=true) |
bool | Sync () |
Static Public Member Functions | |
static const char * | CompType (unsigned char Comp) |
static const char * | CompTypeDeb (unsigned char Comp) |
static const char * | DepType (unsigned char Dep) |
Public Attributes | |
Dependency * | DepP |
DescFile * | DescFileP |
Description * | DescP |
Group * | GrpP |
Header * | HeaderP |
PackageFile * | PkgFileP |
Package * | PkgP |
Provides * | ProvideP |
StringItem * | StringItemP |
char * | StrP |
VerFile * | VerFileP |
Version * | VerP |
pkgVersioningSystem * | VS |
Protected Member Functions | |
unsigned long | sHash (const std::string &S) const |
unsigned long | sHash (const char *S) const |
Protected Attributes | |
std::string | CacheFile |
MMap & | Map |
Private Member Functions | |
PkgIterator | SingleArchFindPkg (const std::string &Name) |
Private Attributes | |
bool | MultiArchEnabled |
pkgCache::pkgCache | ( | MMap * | Map, |
bool | DoMap = true |
||
) |
|
inlinevirtual |
|
static |
|
static |
|
inline |
|
static |
|
inline |
References pkgCache::Header::FileList, HeaderP, and PkgFileP.
|
inline |
References PkgFileP.
GrpIterator pkgCache::FindGrp | ( | const std::string & | Name | ) |
PkgIterator pkgCache::FindPkg | ( | const std::string & | Name | ) |
PkgIterator pkgCache::FindPkg | ( | const std::string & | Name, |
const std::string & | Arch | ||
) |
|
inline |
|
inline |
References GrpP.
|
inline |
|
inline |
|
inline |
References MultiArchEnabled.
|
inline |
References pkgCache::Header::Architecture, HeaderP, and StrP.
|
inline |
|
inline |
References PkgP.
const char* pkgCache::Priority | ( | unsigned char | Priority | ) |
|
virtual |
|
protected |
|
protected |
|
private |
|
inline |
|
protected |
Dependency* pkgCache::DepP |
DescFile* pkgCache::DescFileP |
Referenced by pkgCache::DescFileIterator::operator++(), and pkgCache::DescFileIterator::OwnerPointer().
Description* pkgCache::DescP |
Group* pkgCache::GrpP |
Referenced by pkgCache::PkgIterator::Group(), GrpEnd(), and pkgCache::GrpIterator::OwnerPointer().
Header* pkgCache::HeaderP |
Referenced by FileBegin(), Head(), pkgDepCache::Head(), and NativeArch().
|
private |
Referenced by MultiArchCache().
PackageFile* pkgCache::PkgFileP |
Package* pkgCache::PkgP |
Referenced by pkgCache::PrvIterator::Name(), pkgCache::PrvIterator::OwnerPkg(), pkgCache::PkgIterator::OwnerPointer(), pkgCache::GrpIterator::PackageList(), pkgCache::VerIterator::ParentPkg(), pkgCache::DepIterator::ParentPkg(), pkgCache::PrvIterator::ParentPkg(), PkgEnd(), and pkgCache::DepIterator::TargetPkg().
Provides* pkgCache::ProvideP |
StringItem* pkgCache::StringItemP |
char* pkgCache::StrP |
Referenced by pkgCache::PkgIterator::Arch(), pkgCache::VerIterator::Arch(), pkgCache::PkgFileIterator::Architecture(), pkgCache::PkgFileIterator::Archive(), pkgCache::PkgFileIterator::Codename(), pkgCache::PkgFileIterator::Component(), pkgCache::PkgFileIterator::FileName(), pkgCache::PkgFileIterator::IndexType(), pkgCache::PkgFileIterator::Label(), pkgCache::DescIterator::LanguageCode(), pkgCache::DescIterator::md5(), pkgCache::GrpIterator::Name(), pkgCache::PkgIterator::Name(), pkgCache::PrvIterator::Name(), NativeArch(), pkgCache::PkgFileIterator::Origin(), pkgCache::PrvIterator::ProvideVersion(), pkgCache::PkgIterator::Section(), pkgCache::VerIterator::Section(), pkgCache::PkgFileIterator::Site(), pkgCache::DepIterator::TargetVer(), pkgCache::PkgFileIterator::Version(), and pkgCache::VerIterator::VerStr().
VerFile* pkgCache::VerFileP |
Referenced by pkgCache::VerFileIterator::operator++(), and pkgCache::VerFileIterator::OwnerPointer().
Version* pkgCache::VerP |
pkgVersioningSystem* pkgCache::VS |
Referenced by pkgDepCache::VS().