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
pkgDepCache::StateCache Struct Reference

#include <depcache.h>

Collaboration diagram for pkgDepCache::StateCache:

Public Member Functions

VerIterator CandidateVerIter (pkgCache &Cache)
 
bool Delete () const
 
bool Downgrade () const
 
bool Held () const
 
bool Install () const
 
bool InstBroken () const
 
bool InstPolicyBroken () const
 
VerIterator InstVerIter (pkgCache &Cache)
 
bool Keep () const
 
bool NewInstall () const
 
bool NowBroken () const
 
bool NowPolicyBroken () const
 
bool Protect () const
 
bool Purge () const
 
bool ReInstall () const
 
const char * StripEpoch (const char *Ver)
 
void Update (PkgIterator Pkg, pkgCache &Cache)
 
bool Upgradable () const
 
bool Upgrade () const
 

Public Attributes

VersionCandidateVer
 
const char * CandVersion
 
const char * CurVersion
 
unsigned char DepState
 
unsigned short Flags
 
bool Garbage
 true if this package is unused and should be removed. More...
 
unsigned short iFlags
 
VersionInstallVer
 
bool Marked
 true if this package can be reached from the root set. More...
 
unsigned char Mode
 
signed char Status
 

Member Function Documentation

VerIterator pkgDepCache::StateCache::CandidateVerIter ( pkgCache Cache)
inline

References CandidateVer.

bool pkgDepCache::StateCache::Delete ( ) const
inline

References Mode, and pkgDepCache::ModeDelete.

Referenced by Purge(), and ReInstall().

Here is the caller graph for this function:

bool pkgDepCache::StateCache::Downgrade ( ) const
inline
bool pkgDepCache::StateCache::Held ( ) const
inline

References Keep(), and Status.

Here is the call graph for this function:

bool pkgDepCache::StateCache::Install ( ) const
inline

References Mode, and pkgDepCache::ModeInstall.

bool pkgDepCache::StateCache::InstBroken ( ) const
inline
bool pkgDepCache::StateCache::InstPolicyBroken ( ) const
inline
VerIterator pkgDepCache::StateCache::InstVerIter ( pkgCache Cache)
inline

References InstallVer.

bool pkgDepCache::StateCache::Keep ( ) const
inline

References Mode, and pkgDepCache::ModeKeep.

Referenced by Held().

Here is the caller graph for this function:

bool pkgDepCache::StateCache::NewInstall ( ) const
inline
bool pkgDepCache::StateCache::NowBroken ( ) const
inline

References pkgDepCache::DepNowMin, and DepState.

bool pkgDepCache::StateCache::NowPolicyBroken ( ) const
inline
bool pkgDepCache::StateCache::Protect ( ) const
inline

References iFlags, and pkgDepCache::Protected.

bool pkgDepCache::StateCache::Purge ( ) const
inline

References Delete(), iFlags, and pkgDepCache::Purge.

Here is the call graph for this function:

bool pkgDepCache::StateCache::ReInstall ( ) const
inline

References Delete(), iFlags, and pkgDepCache::ReInstall.

Here is the call graph for this function:

const char* pkgDepCache::StateCache::StripEpoch ( const char *  Ver)
void pkgDepCache::StateCache::Update ( PkgIterator  Pkg,
pkgCache Cache 
)
bool pkgDepCache::StateCache::Upgradable ( ) const
inline

References Status.

bool pkgDepCache::StateCache::Upgrade ( ) const
inline

Member Data Documentation

Version* pkgDepCache::StateCache::CandidateVer

Referenced by CandidateVerIter().

const char* pkgDepCache::StateCache::CandVersion
const char* pkgDepCache::StateCache::CurVersion
unsigned char pkgDepCache::StateCache::DepState
unsigned short pkgDepCache::StateCache::Flags
bool pkgDepCache::StateCache::Garbage

true if this package is unused and should be removed.

This differs from !Marked, because it is possible that some unreachable packages will be protected from becoming garbage.

unsigned short pkgDepCache::StateCache::iFlags
Version* pkgDepCache::StateCache::InstallVer

Referenced by InstVerIter().

bool pkgDepCache::StateCache::Marked

true if this package can be reached from the root set.

unsigned char pkgDepCache::StateCache::Mode
signed char pkgDepCache::StateCache::Status

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