apt @VERSION@
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

pkgCache Class Reference

List of all members.

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

virtual bool ReMap (bool const &Errorchecks=true)
bool Sync ()
MMapGetMap ()
void * DataEnd ()
unsigned long Hash (const string &S) const
unsigned long Hash (const char *S) const
const char * Priority (unsigned char Priority)
GrpIterator FindGrp (const string &Name)
PkgIterator FindPkg (const string &Name)
PkgIterator FindPkg (const string &Name, const string &Arch)
HeaderHead ()
GrpIterator GrpBegin ()
GrpIterator GrpEnd ()
PkgIterator PkgBegin ()
PkgIterator PkgEnd ()
PkgFileIterator FileBegin ()
PkgFileIterator FileEnd ()
bool MultiArchCache () const
 pkgCache (MMap *Map, bool DoMap=true)

Static Public Member Functions

static const char * CompTypeDeb (unsigned char Comp)
static const char * CompType (unsigned char Comp)
static const char * DepType (unsigned char Dep)

Public Attributes

HeaderHeaderP
GroupGrpP
PackagePkgP
VerFileVerFileP
DescFileDescFileP
PackageFilePkgFileP
VersionVerP
DescriptionDescP
ProvidesProvideP
DependencyDepP
StringItemStringItemP
char * StrP
pkgVersioningSystemVS

Protected Member Functions

unsigned long sHash (const string &S) const
unsigned long sHash (const char *S) const

Protected Attributes

string CacheFile
MMapMap

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