libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pkgCache::Provides Struct Reference

handles virtual packages More...

#include <pkgcache.h>

Collaboration diagram for pkgCache::Provides:

Public Attributes

map_ptrloc NextPkgProv
 next provides (based of version) More...
 
map_ptrloc NextProvides
 next provides (based of package) More...
 
map_ptrloc ParentPkg
 index of the package providing this More...
 
map_ptrloc ProvideVersion
 version in the provides line (if any) More...
 
map_ptrloc Version
 index of the version this provide line applies to More...
 

Detailed Description

handles virtual packages

When a Provides: line is encountered a new provides record is added associating the package with a virtual package name. The provides structures are linked off the package structures. This simplifies the analysis of dependencies and other aspects A provides refers to a specific version of a specific package, not all versions need to provide that provides.

Member Data Documentation

map_ptrloc pkgCache::Provides::NextPkgProv

next provides (based of version)

Referenced by pkgCache::PrvIterator::operator++().

map_ptrloc pkgCache::Provides::NextProvides

next provides (based of package)

Referenced by pkgCache::PrvIterator::operator++().

map_ptrloc pkgCache::Provides::ParentPkg

index of the package providing this

Referenced by pkgCache::PrvIterator::Name(), and pkgCache::PrvIterator::ParentPkg().

map_ptrloc pkgCache::Provides::ProvideVersion

version in the provides line (if any)

This version allows dependencies to depend on specific versions of a Provides, as well as allowing Provides to override existing packages. This is experimental. Note that Debian doesn't allow versioned provides

Referenced by pkgCache::PrvIterator::ProvideVersion().

map_ptrloc pkgCache::Provides::Version

index of the version this provide line applies to

Referenced by pkgCache::PrvIterator::OwnerPkg(), and pkgCache::PrvIterator::OwnerVer().


The documentation for this struct was generated from the following file: