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

groups architecture depending packages together More...

#include <apt-pkg/pkgcache.h>

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

Public Attributes

map_stringitem_t Name
 Name of the group.
 
map_pointer< PackageFirstPackage
 Link to the first package which belongs to the group.
 
map_pointer< PackageLastPackage
 Link to the last package which belongs to the group.
 
map_pointer< GroupNext
 Link to the next Group.
 
map_id_t ID
 unique sequel ID
 
map_pointer< VersionVersionsInSource
 List of binary produces by source package with this name.
 
map_pointer< SourceVersionSourceVersionList
 SourceVersionList.
 
map_pointer< void > d
 Private pointer.
 

Detailed Description

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

groups architecture depending packages together

On or more packages with the same name form a group, so we have a simple way to access a package built for different architectures Group exists in a singly linked list of group records starting at the hash index of the name in the pkgCache::Header::GrpHashTable

They also act as a representation of source packages, allowing you to iterate over all binaries produced by a source package.


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