apt 3.0.3
commandline package manager
Public Attributes | List of all members
pkgCache< Str, Itr >::DependencyData Struct Reference

information for a single dependency record More...

#include <apt-pkg/pkgcache.h>

Collaboration diagram for pkgCache< Str, Itr >::DependencyData:
[legend]

Public Attributes

map_stringitem_t Version
 string of the version the dependency is applied against
 
map_pointer< pkgCache::PackagePackage
 index of the package this depends applies to
 
map_number_t Type
 Dependency type - Depends, Recommends, Conflicts, etc.
 
map_flags_t CompareOp
 comparison operator specified on the depends line
 
map_pointer< DependencyDataNextData
 

Detailed Description

template<typename Str, typename Itr>
struct pkgCache< Str, Itr >::DependencyData

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

◆ CompareOp

template<typename Str , typename Itr >
map_flags_t CompareOp

comparison operator specified on the depends line

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

◆ Package

template<typename Str , typename Itr >
map_pointer<pkgCache::Package> 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.


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