Simple base class with a lot of virtual methods which can be overridden to alter the behavior or the output of the CacheSets.
More...
|
| CacheSetHelper (bool const ShowError=true, GlobalError::MsgType ErrorType=GlobalError::ERROR) |
|
virtual | ~CacheSetHelper () |
|
virtual void | canNotFindAllVer (VersionContainerInterface *const vci, pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
|
virtual pkgCache::VerIterator | canNotFindCandidateVer (pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
|
virtual void | canNotFindCandInstVer (VersionContainerInterface *const vci, pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
|
virtual pkgCache::VerIterator | canNotFindInstalledVer (pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
|
virtual void | canNotFindInstCandVer (VersionContainerInterface *const vci, pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
|
virtual pkgCache::VerIterator | canNotFindNewestVer (pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg) |
|
virtual void | canNotFindPackage (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string const &str) |
|
virtual pkgCache::PkgIterator | canNotFindPkgName (pkgCacheFile &Cache, std::string const &str) |
|
virtual void | canNotFindRegEx (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern) |
|
virtual void | canNotFindTask (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern) |
|
GlobalError::MsgType | errorType () const |
|
GlobalError::MsgType | errorType (GlobalError::MsgType const &newValue) |
|
bool | showErrors () const |
|
bool | showErrors (bool const newValue) |
|
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 | showTaskSelection (pkgCache::PkgIterator const &pkg, std::string const &pattern) |
|
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.