apt  0.9.7.7ubuntu4
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
pkgDPkgPM Class Reference
Inheritance diagram for pkgDPkgPM:
pkgPackageManager pkgCache::Namespace

Classes

struct  DpkgState
 
struct  Item
 

Public Member Functions

 pkgDPkgPM (pkgDepCache *Cache)
 
- Public Member Functions inherited from pkgPackageManager
bool GetArchives (pkgAcquire *Owner, pkgSourceList *Sources, pkgRecords *Recs)
 
OrderResult DoInstall (int statusFd=-1)
 
OrderResult DoInstallPreFork ()
 
OrderResult DoInstallPostFork (int statusFd=-1)
 
bool FixMissing ()
 
std::set< std::string > GetDisappearedPackages ()
 returns all packages dpkg let disappear
 
 pkgPackageManager (pkgDepCache *Cache)
 

Protected Member Functions

bool RunScriptsWithPkgs (const char *Cnf)
 
bool SendV2Pkgs (FILE *F)
 
void WriteHistoryTag (std::string const &tag, std::string value)
 
void WriteApportReport (const char *pkgpath, const char *errormsg)
 
bool OpenLog ()
 
bool CloseLog ()
 
void DoStdin (int master)
 
void DoTerminalPty (int master)
 
void DoDpkgStatusFd (int statusfd, int OutStatusFd)
 
void ProcessDpkgStatusLine (int OutStatusFd, char *line)
 
virtual bool Install (PkgIterator Pkg, std::string File)
 
virtual bool Configure (PkgIterator Pkg)
 
virtual bool Remove (PkgIterator Pkg, bool Purge=false)
 
virtual bool Go (int StatusFd=-1)
 
virtual void Reset ()
 
- Protected Member Functions inherited from pkgPackageManager
void ImmediateAdd (PkgIterator P, bool UseInstallVer, unsigned const int &Depth=0)
 
virtual OrderResult OrderInstall ()
 
bool CheckRConflicts (PkgIterator Pkg, DepIterator Dep, const char *Ver)
 
bool CreateOrderList ()
 
bool DepAlwaysTrue (DepIterator D)
 
bool ConfigureAll ()
 
bool SmartConfigure (PkgIterator Pkg, int const Depth)
 
bool SmartUnPack (PkgIterator Pkg)
 
bool SmartUnPack (PkgIterator Pkg, bool const Immediate, int const Depth)
 
bool SmartRemove (PkgIterator Pkg)
 
bool EarlyRemove (PkgIterator Pkg)
 

Protected Attributes

int pkgFailures
 
std::map< std::string,
std::vector< struct DpkgState > > 
PackageOps
 
std::map< std::string,
unsigned int > 
PackageOpsDone
 
unsigned int PackagesDone
 
unsigned int PackagesTotal
 
std::vector< ItemList
 
- Protected Attributes inherited from pkgPackageManager
std::string * FileNames
 
pkgDepCacheCache
 
pkgOrderListList
 
bool Debug
 
bool NoImmConfigure
 
bool ImmConfigureAll
 
std::set< std::string > disappearedPkgs
 saves packages dpkg let disappear More...
 
OrderResult Res
 

Additional Inherited Members

- Public Types inherited from pkgPackageManager
enum  OrderResult { Completed, Failed, Incomplete }
 
- Static Public Attributes inherited from pkgPackageManager
static bool SigINTStop = false
 
- Protected Types inherited from pkgCache::Namespace
typedef pkgCache::GrpIterator GrpIterator
 
typedef pkgCache::PkgIterator PkgIterator
 
typedef pkgCache::VerIterator VerIterator
 
typedef pkgCache::DescIterator DescIterator
 
typedef pkgCache::DepIterator DepIterator
 
typedef pkgCache::PrvIterator PrvIterator
 
typedef pkgCache::PkgFileIterator PkgFileIterator
 
typedef pkgCache::VerFileIterator VerFileIterator
 
typedef pkgCache::Version Version
 
typedef pkgCache::Description Description
 
typedef pkgCache::Package Package
 
typedef pkgCache::Header Header
 
typedef pkgCache::Dep Dep
 
typedef pkgCache::Flag Flag
 

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