apt  2.2.4
About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.2.
  Fossies Dox: apt-2.2.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

CacheFile Class Reference

#include <private-cachefile.h>

Inheritance diagram for CacheFile:
Collaboration diagram for CacheFile:

Public Member Functions

bool CheckDeps (bool AllowBroken=false)
bool BuildCaches (bool WithLock=true)
bool Open (bool WithLock=true)
bool OpenForInstall ()
- Public Member Functions inherited from pkgCacheFile
 operator pkgCache & () const
 operator pkgCache * () const
 operator pkgDepCache & () const
 operator pkgDepCache * () const
 operator pkgPolicy & () const
 operator pkgPolicy * () const
 operator pkgSourceList & () const
 operator pkgSourceList * () const
pkgDepCacheoperator-> () const
pkgDepCacheoperator* () const
pkgDepCache::StateCacheoperator[] (pkgCache::PkgIterator const &I) const
unsigned char & operator[] (pkgCache::DepIterator const &I) const
bool BuildCaches (OpProgress *Progress=NULL, bool WithLock=true)
bool BuildSourceList (OpProgress *Progress=NULL)
bool BuildPolicy (OpProgress *Progress=NULL)
bool BuildDepCache (OpProgress *Progress=NULL)
bool Open (OpProgress *Progress=NULL, bool WithLock=true)
bool ReadOnlyOpen (OpProgress *Progress=NULL)
void Close ()
bool AddIndexFile (pkgIndexFile *const File)
pkgCacheGetPkgCache ()
pkgDepCacheGetDepCache ()
pkgPolicyGetPolicy ()
pkgSourceListGetSourceList ()
bool IsPkgCacheBuilt () const
bool IsDepCacheBuilt () const
bool IsPolicyBuilt () const
bool IsSrcListBuilt () const
 pkgCacheFile ()
 pkgCacheFile (pkgDepCache *const Owner)
virtual ~pkgCacheFile ()

Public Attributes

std::vector< map_pointer< pkgCache::Package > > UniverseList
- Public Attributes inherited from pkgCacheFile

Additional Inherited Members

- Static Public Member Functions inherited from pkgCacheFile
static void RemoveCaches ()
- Protected Attributes inherited from pkgCacheFile

Detailed Description

Definition at line 13 of file private-cachefile.h.

Member Function Documentation

◆ BuildCaches()

bool BuildCaches ( bool  WithLock = true)

◆ CheckDeps()

◆ Open()

bool Open ( bool  WithLock = true)

◆ OpenForInstall()

bool OpenForInstall ( )

Definition at line 31 of file private-cachefile.h.

References _config, Configuration::FindB(), and pkgCacheFile::Open().

Referenced by DoDSelectUpgrade(), DoInstall(), and UpgradeHelper().

Member Data Documentation

◆ UniverseList

std::vector<map_pointer<pkgCache::Package> > UniverseList

Definition at line 16 of file private-cachefile.h.

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