|
apt
@VERSION@
|
Classes | |
| class | const_iterator |
| smell like a pkgCache::VerIterator More... | |
| struct | Modifier |
Public Types | |
| enum | Version { ALL, CANDANDINST, CANDIDATE, INSTALLED, CANDINST, INSTCAND, NEWEST } |
| specifies which version(s) will be returned if non is given More... | |
Public Member Functions | |
| virtual bool | insert (pkgCache::VerIterator const &V)=0 |
| virtual bool | empty () const =0 |
| virtual void | clear ()=0 |
Static Public Member Functions | |
| static bool | FromCommandLine (VersionContainerInterface *const vci, pkgCacheFile &Cache, const char **cmdline, Version const &fallback, CacheSetHelper &helper) |
| static bool | FromString (VersionContainerInterface *const vci, pkgCacheFile &Cache, std::string pkg, Version const &fallback, CacheSetHelper &helper, bool const onlyFromName=false) |
| static bool | FromPackage (VersionContainerInterface *const vci, pkgCacheFile &Cache, pkgCache::PkgIterator const &P, Version const &fallback, CacheSetHelper &helper) |
| static bool | FromModifierCommandLine (unsigned short &modID, VersionContainerInterface *const vci, pkgCacheFile &Cache, const char *cmdline, std::list< Modifier > const &mods, CacheSetHelper &helper) |
| static bool | FromDependency (VersionContainerInterface *const vci, pkgCacheFile &Cache, pkgCache::DepIterator const &D, Version const &selector, CacheSetHelper &helper) |
Static Protected Member Functions | |
| static pkgCache::VerIterator | getCandidateVer (pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg, CacheSetHelper &helper) |
| returns the candidate version of the package | |
| static pkgCache::VerIterator | getInstalledVer (pkgCacheFile &Cache, pkgCache::PkgIterator const &Pkg, CacheSetHelper &helper) |
| returns the installed version of the package | |
Same as APT::PackageContainerInterface, just for Versions
| enum Version |
specifies which version(s) will be returned if non is given
| pkgCache::VerIterator getCandidateVer | ( | pkgCacheFile & | Cache, |
| pkgCache::PkgIterator const & | Pkg, | ||
| CacheSetHelper & | helper | ||
| ) | [static, protected] |
returns the candidate version of the package
| Cache | to be used to query for information |
| Pkg | we want the candidate version from this package |
| pkgCache::VerIterator getInstalledVer | ( | pkgCacheFile & | Cache, |
| pkgCache::PkgIterator const & | Pkg, | ||
| CacheSetHelper & | helper | ||
| ) | [static, protected] |
returns the installed version of the package
| Cache | to be used to query for information |
| Pkg | we want the installed version from this package |
1.7.6.1