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::Dependency Struct Reference

information for a single dependency record More...

#include <pkgcache.h>

Collaboration diagram for pkgCache::Dependency:

Public Attributes

unsigned char CompareOp
 comparison operator specified on the depends line More...
 
map_ptrloc ID
 unique sequel ID More...
 
map_ptrloc NextDepends
 next dependency of this version More...
 
map_ptrloc NextRevDepends
 next reverse dependency of this package More...
 
map_ptrloc Package
 index of the package this depends applies to More...
 
map_ptrloc ParentVer
 version of the package which has the reverse depends More...
 
unsigned char Type
 Dependency type - Depends, Recommends, Conflicts, etc. More...
 
map_ptrloc Version
 string of the version the dependency is applied against More...
 

Detailed Description

information for a single dependency record

The records are split up like this to ease processing by the client. The base of the linked list is pkgCache::Version::DependsList. All forms of dependencies are recorded here including Depends, Recommends, Suggests, Enhances, Conflicts, Replaces and Breaks.

Member Data Documentation

unsigned char pkgCache::Dependency::CompareOp

comparison operator specified on the depends line

If the high bit is set then it is a logical OR with the previous record.

Referenced by pkgCache::DepIterator::CompType().

map_ptrloc pkgCache::Dependency::ID

unique sequel ID

map_ptrloc pkgCache::Dependency::NextDepends

next dependency of this version

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

map_ptrloc pkgCache::Dependency::NextRevDepends

next reverse dependency of this package

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

map_ptrloc pkgCache::Dependency::Package

index of the package this depends applies to

The generator will - if the package does not already exist - create a blank (no version records) package.

Referenced by pkgCache::DepIterator::TargetPkg().

map_ptrloc pkgCache::Dependency::ParentVer

version of the package which has the reverse depends

Referenced by pkgCache::DepIterator::ParentPkg(), and pkgCache::DepIterator::ParentVer().

unsigned char pkgCache::Dependency::Type

Dependency type - Depends, Recommends, Conflicts, etc.

Referenced by pkgCache::DepIterator::DepType().

map_ptrloc pkgCache::Dependency::Version

string of the version the dependency is applied against

Referenced by pkgCache::DepIterator::TargetVer().


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