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)  

PMOutput Class Reference
Inheritance diagram for PMOutput:
[legend]
Collaboration diagram for PMOutput:
[legend]

Public Member Functions

 PMOutput (pkgDepCache *Cache, FileFd &file)
 
bool ApplyRequest (std::list< std::pair< std::string, EIPP::PKG_ACTION >> const &actions)
 
- Public Member Functions inherited from pkgPackageManager
bool GetArchives (pkgAcquire *Owner, pkgSourceList *Sources, pkgRecords *Recs)
 
OrderResult DoInstall (APT::Progress::PackageManager *progress)
 
OrderResult DoInstallPreFork ()
 
OrderResult DoInstallPostFork (APT::Progress::PackageManager *progress)
 
bool FixMissing ()
 
std::set< std::string > GetDisappearedPackages ()
 returns all packages dpkg let disappear More...
 
 pkgPackageManager (pkgDepCache *Cache)
 
virtual ~pkgPackageManager ()
 

Protected Member Functions

virtual bool Install (PkgIterator Pkg, std::string) APT_OVERRIDE
 
virtual bool Configure (PkgIterator Pkg) APT_OVERRIDE
 
virtual bool Remove (PkgIterator Pkg, bool) APT_OVERRIDE
 
- 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 CheckRBreaks (PkgIterator const &Pkg, DepIterator Dep, const char *const Ver)
 
bool CreateOrderList ()
 
bool DepAlwaysTrue (DepIterator D) APT_PURE
 
bool ConfigureAll ()
 
bool SmartConfigure (PkgIterator Pkg, int const Depth) APT_MUSTCHECK
 
bool SmartUnPack (PkgIterator Pkg, bool const Immediate=true, int const Depth=0) APT_MUSTCHECK
 
bool SmartRemove (PkgIterator Pkg) APT_MUSTCHECK
 
bool EarlyRemove (PkgIterator Pkg, DepIterator const *const Dep) APT_MUSTCHECK
 
virtual bool Go (APT::Progress::PackageManager *)
 
virtual void Reset ()
 

Private Attributes

FileFdoutput
 
bool const Debug
 

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< Str, Itr >::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::RlsFileIterator RlsFileIterator
 
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
 
- 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
 

Detailed Description

Definition at line 65 of file apt-internal-planner.cc.

Constructor & Destructor Documentation

◆ PMOutput()

PMOutput ( pkgDepCache Cache,
FileFd file 
)
inline

Definition at line 87 of file apt-internal-planner.cc.

Member Function Documentation

◆ ApplyRequest()

bool ApplyRequest ( std::list< std::pair< std::string, EIPP::PKG_ACTION >> const &  actions)
inline

◆ Configure()

virtual bool Configure ( PkgIterator  Pkg)
inlineprotectedvirtual

Reimplemented from pkgPackageManager.

Definition at line 76 of file apt-internal-planner.cc.

References pkgPackageManager::Cache, output, and EDSP::WriteSolutionStanza().

◆ Install()

virtual bool Install ( PkgIterator  Pkg,
std::string   
)
inlineprotectedvirtual

Reimplemented from pkgPackageManager.

Definition at line 71 of file apt-internal-planner.cc.

References pkgPackageManager::Cache, output, and EDSP::WriteSolutionStanza().

◆ Remove()

virtual bool Remove ( PkgIterator  Pkg,
bool   
)
inlineprotectedvirtual

Reimplemented from pkgPackageManager.

Definition at line 81 of file apt-internal-planner.cc.

References output, and EDSP::WriteSolutionStanza().

Member Data Documentation

◆ Debug

bool const Debug
private

Definition at line 68 of file apt-internal-planner.cc.

◆ output

FileFd& output
private

Definition at line 67 of file apt-internal-planner.cc.

Referenced by Configure(), Install(), and Remove().


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