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)  

CacheSetHelperVirtuals Class Reference

#include <private-cacheset.h>

Inheritance diagram for CacheSetHelperVirtuals:
[legend]
Collaboration diagram for CacheSetHelperVirtuals:
[legend]

Public Member Functions

virtual pkgCache::VerIterator canNotGetVersion (enum CacheSetHelper::VerSelector const select, pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) APT_OVERRIDE
 
virtual void canNotFindVersion (enum CacheSetHelper::VerSelector const select, APT::VersionContainerInterface *vci, pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) APT_OVERRIDE
 
virtual pkgCache::PkgIterator canNotFindPkgName (pkgCacheFile &Cache, std::string const &str) APT_OVERRIDE
 
 CacheSetHelperVirtuals (bool const ShowErrors=true, GlobalError::MsgType const &ErrorType=GlobalError::NOTICE)
 
- Public Member Functions inherited from CacheSetHelper
 CacheSetHelper (bool const ShowError=true, GlobalError::MsgType ErrorType=GlobalError::ERROR)
 
virtual ~CacheSetHelper ()
 
virtual bool PackageFrom (enum PkgSelector const select, PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string const &pattern)
 
virtual bool PackageFromCommandLine (PackageContainerInterface *const pci, pkgCacheFile &Cache, const char **cmdline)
 
virtual bool PackageFromModifierCommandLine (unsigned short &modID, PackageContainerInterface *const pci, pkgCacheFile &Cache, const char *cmdline, std::list< PkgModifier > const &mods)
 
virtual void showPackageSelection (pkgCache::PkgIterator const &pkg, PkgSelector const select, std::string const &pattern)
 be notified about the package being selected via pattern More...
 
virtual void canNotFindPackage (enum PkgSelector const select, PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string const &pattern)
 be notified if a package can't be found via pattern More...
 
virtual void showVersionSelection (pkgCache::PkgIterator const &Pkg, pkgCache::VerIterator const &Ver, enum VerSelector const select, std::string const &pattern)
 be notified about the version being selected via pattern More...
 
virtual void canNotFindVersion (enum VerSelector const select, VersionContainerInterface *const vci, pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg)
 be notified if a version can't be found for a package More...
 
virtual pkgCache::VerIterator canNotGetVersion (enum VerSelector const select, pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg)
 
bool showErrors () const
 
bool showErrors (bool const newValue)
 
GlobalError::MsgType errorType () const
 
GlobalError::MsgType errorType (GlobalError::MsgType const &newValue)
 

Public Attributes

APT::PackageSet virtualPkgs
 

Additional Inherited Members

- Public Types inherited from CacheSetHelper
enum  PkgSelector {
  UNKNOWN , REGEX , TASK , FNMATCH ,
  PACKAGENAME , STRING , PATTERN
}
 
enum  VerSelector {
  RELEASE , VERSIONNUMBER , ALL , CANDANDINST ,
  CANDIDATE , INSTALLED , CANDINST , INSTCAND ,
  NEWEST
}
 specifies which version(s) we want to refer to More...
 
- Protected Member Functions inherited from CacheSetHelper
pkgCache::VerIterator canNotGetInstCandVer (pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg)
 
pkgCache::VerIterator canNotGetCandInstVer (pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg)
 
bool PackageFromTask (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern)
 
bool PackageFromRegEx (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern)
 
bool PackageFromFnmatch (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern)
 
bool PackageFromPackageName (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern)
 
bool PackageFromString (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string const &pattern)
 
bool PackageFromPattern (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string const &pattern)
 
- Protected Attributes inherited from CacheSetHelper
bool ShowError
 
GlobalError::MsgType ErrorType
 

Detailed Description

Definition at line 84 of file private-cacheset.h.

Constructor & Destructor Documentation

◆ CacheSetHelperVirtuals()

CacheSetHelperVirtuals ( bool const  ShowErrors = true,
GlobalError::MsgType const &  ErrorType = GlobalError::NOTICE 
)

Definition at line 180 of file private-cacheset.cc.

Member Function Documentation

◆ canNotFindPkgName()

pkgCache::PkgIterator canNotFindPkgName ( pkgCacheFile Cache,
std::string const &  str 
)
virtual

◆ canNotFindVersion()

void canNotFindVersion ( enum CacheSetHelper::VerSelector const  select,
APT::VersionContainerInterface vci,
pkgCacheFile Cache,
pkgCache::PkgIterator const &  Pkg 
)
virtual

◆ canNotGetVersion()

pkgCache::VerIterator canNotGetVersion ( enum CacheSetHelper::VerSelector const  select,
pkgCacheFile Cache,
pkgCache::PkgIterator const &  Pkg 
)
virtual

Member Data Documentation

◆ virtualPkgs

APT::PackageSet virtualPkgs

Definition at line 86 of file private-cacheset.h.

Referenced by canNotFindVersion(), canNotGetVersion(), ShowDepends(), and ShowPackage().


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