apt  0.9.14
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
pkgCache Class Reference

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 std::string &S) const
 
unsigned long Hash (const char *S) const
 
const char * Priority (unsigned char Priority)
 
GrpIterator FindGrp (const std::string &Name)
 
PkgIterator FindPkg (const std::string &Name)
 
PkgIterator FindPkg (const std::string &Name, const std::string &Arch)
 
HeaderHead ()
 
GrpIterator GrpBegin ()
 
GrpIterator GrpEnd ()
 
PkgIterator PkgBegin ()
 
PkgIterator PkgEnd ()
 
PkgFileIterator FileBegin ()
 
PkgFileIterator FileEnd ()
 
bool MultiArchCache () const
 
char const *const NativeArch () 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 std::string &S) const
 
unsigned long sHash (const char *S) const
 

Protected Attributes

std::string CacheFile
 
MMapMap
 

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