apt
0.9.11.4
|
Public Member Functions | |
CacheSetHelper (bool const ShowError=true, GlobalError::MsgType ErrorType=GlobalError::ERROR) | |
virtual void | showTaskSelection (pkgCache::PkgIterator const &pkg, std::string const &pattern) |
virtual void | showRegExSelection (pkgCache::PkgIterator const &pkg, std::string const &pattern) |
virtual void | showSelectedVersion (pkgCache::PkgIterator const &Pkg, pkgCache::VerIterator const Ver, std::string const &ver, bool const verIsRel) |
virtual void | canNotFindTask (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern) |
virtual void | canNotFindRegEx (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern) |
virtual void | canNotFindPackage (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string const &str) |
virtual void | canNotFindAllVer (VersionContainerInterface *const vci, pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
virtual void | canNotFindInstCandVer (VersionContainerInterface *const vci, pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
virtual void | canNotFindCandInstVer (VersionContainerInterface *const vci, pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
virtual pkgCache::PkgIterator | canNotFindPkgName (pkgCacheFile &Cache, std::string const &str) |
virtual pkgCache::VerIterator | canNotFindNewestVer (pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
virtual pkgCache::VerIterator | canNotFindCandidateVer (pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
virtual pkgCache::VerIterator | canNotFindInstalledVer (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) |
Protected Attributes | |
bool | ShowError |
GlobalError::MsgType | ErrorType |
Simple base class with a lot of virtual methods which can be overridden to alter the behavior or the output of the CacheSets.
This helper is passed around by the static methods in the CacheSets and used every time they hit an error condition or something could be printed out.