libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pkgCacheFile Class Reference

#include <cachefile.h>

Collaboration diagram for pkgCacheFile:

Public Member Functions

 pkgCacheFile ()
 
virtual ~pkgCacheFile ()
 
bool BuildCaches (OpProgress *Progress=NULL, bool WithLock=true)
 
__deprecated bool BuildCaches (OpProgress &Progress, bool const &WithLock=true)
 
bool BuildDepCache (OpProgress *Progress=NULL)
 
bool BuildPolicy (OpProgress *Progress=NULL)
 
bool BuildSourceList (OpProgress *Progress=NULL)
 
void Close ()
 
pkgDepCacheGetDepCache ()
 
pkgCacheGetPkgCache ()
 
pkgPolicyGetPolicy ()
 
pkgSourceListGetSourceList ()
 
bool IsDepCacheBuilt () const
 
bool IsPkgCacheBuilt () const
 
bool IsPolicyBuilt () const
 
bool IsSrcListBuilt () const
 
bool Open (OpProgress *Progress=NULL, bool WithLock=true)
 
__deprecated bool Open (OpProgress &Progress, bool const &WithLock=true)
 
 operator pkgCache & ()
 
 operator pkgCache * ()
 
 operator pkgDepCache & ()
 
 operator pkgDepCache * ()
 
 operator pkgPolicy & ()
 
 operator pkgPolicy * ()
 
 operator pkgSourceList & ()
 
 operator pkgSourceList * ()
 
pkgDepCacheoperator* ()
 
pkgDepCacheoperator-> ()
 
pkgDepCache::StateCacheoperator[] (pkgCache::PkgIterator const &I)
 
unsigned char & operator[] (pkgCache::DepIterator const &I)
 
bool ReadOnlyOpen (OpProgress *Progress=NULL)
 

Static Public Member Functions

static void RemoveCaches ()
 

Public Attributes

pkgPolicyPolicy
 

Protected Attributes

pkgCacheCache
 
pkgDepCacheDCache
 
MMapMap
 
pkgSourceListSrcList
 

Private Attributes

void * d
 dpointer placeholder (for later in case we need it) More...
 

Constructor & Destructor Documentation

pkgCacheFile::pkgCacheFile ( )
virtual pkgCacheFile::~pkgCacheFile ( )
virtual

Member Function Documentation

bool pkgCacheFile::BuildCaches ( OpProgress Progress = NULL,
bool  WithLock = true 
)

Referenced by GetPkgCache().

Here is the caller graph for this function:

__deprecated bool pkgCacheFile::BuildCaches ( OpProgress Progress,
bool const &  WithLock = true 
)
inline

References BuildCaches().

Referenced by BuildCaches().

Here is the call graph for this function:

Here is the caller graph for this function:

bool pkgCacheFile::BuildDepCache ( OpProgress Progress = NULL)

Referenced by GetDepCache().

Here is the caller graph for this function:

bool pkgCacheFile::BuildPolicy ( OpProgress Progress = NULL)

Referenced by GetPolicy().

Here is the caller graph for this function:

bool pkgCacheFile::BuildSourceList ( OpProgress Progress = NULL)

Referenced by GetSourceList().

Here is the caller graph for this function:

void pkgCacheFile::Close ( )
pkgDepCache* pkgCacheFile::GetDepCache ( )
inline

References BuildDepCache(), and DCache.

Here is the call graph for this function:

pkgCache* pkgCacheFile::GetPkgCache ( )
inline

References BuildCaches(), and Cache.

Here is the call graph for this function:

pkgPolicy* pkgCacheFile::GetPolicy ( )
inline

References BuildPolicy(), and Policy.

Here is the call graph for this function:

pkgSourceList* pkgCacheFile::GetSourceList ( )
inline

References BuildSourceList(), and SrcList.

Here is the call graph for this function:

bool pkgCacheFile::IsDepCacheBuilt ( ) const
inline

References DCache.

bool pkgCacheFile::IsPkgCacheBuilt ( ) const
inline

References Cache.

bool pkgCacheFile::IsPolicyBuilt ( ) const
inline

References Policy.

bool pkgCacheFile::IsSrcListBuilt ( ) const
inline

References SrcList.

bool pkgCacheFile::Open ( OpProgress Progress = NULL,
bool  WithLock = true 
)

Referenced by ReadOnlyOpen().

Here is the caller graph for this function:

__deprecated bool pkgCacheFile::Open ( OpProgress Progress,
bool const &  WithLock = true 
)
inline

References Open().

Referenced by Open().

Here is the call graph for this function:

Here is the caller graph for this function:

pkgCacheFile::operator pkgCache & ( )
inline

References Cache.

pkgCacheFile::operator pkgCache * ( )
inline

References Cache.

pkgCacheFile::operator pkgDepCache & ( )
inline

References DCache.

pkgCacheFile::operator pkgDepCache * ( )
inline

References DCache.

pkgCacheFile::operator pkgPolicy & ( )
inline

References Policy.

pkgCacheFile::operator pkgPolicy * ( )
inline

References Policy.

pkgCacheFile::operator pkgSourceList & ( )
inline

References SrcList.

pkgCacheFile::operator pkgSourceList * ( )
inline

References SrcList.

pkgDepCache& pkgCacheFile::operator* ( )
inline

References DCache.

pkgDepCache* pkgCacheFile::operator-> ( )
inline

References DCache.

pkgDepCache::StateCache& pkgCacheFile::operator[] ( pkgCache::PkgIterator const &  I)
inline

References DCache.

unsigned char& pkgCacheFile::operator[] ( pkgCache::DepIterator const &  I)
inline

References DCache.

bool pkgCacheFile::ReadOnlyOpen ( OpProgress Progress = NULL)
inline

References Open().

Here is the call graph for this function:

static void pkgCacheFile::RemoveCaches ( )
static

Member Data Documentation

pkgCache* pkgCacheFile::Cache
protected
void* pkgCacheFile::d
private

dpointer placeholder (for later in case we need it)

MMap* pkgCacheFile::Map
protected

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