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) |
Detailed Description
Member Enumeration Documentation
specifies which version(s) will be returned if non is given
- Enumerator:
ALL |
All versions
|
CANDANDINST |
Candidate and installed version
|
CANDIDATE |
Candidate version
|
INSTALLED |
Installed version
|
CANDINST |
Candidate or if non installed version
|
INSTCAND |
Installed or if non candidate version
|
NEWEST |
Newest version
|
Member Function Documentation
returns the candidate version of the package
- Parameters
-
Cache | to be used to query for information |
Pkg | we want the candidate version from this package |
returns the installed version of the package
- Parameters
-
Cache | to be used to query for information |
Pkg | we want the installed version from this package |
The documentation for this class was generated from the following files:
- /tmp/buildd/apt-0.9.7.3blankon1/apt-pkg/cacheset.h
- /tmp/buildd/apt-0.9.7.3blankon1/apt-pkg/cacheset.cc