apt  2.2.4
About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.2.
  Fossies Dox: apt-2.2.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

pkgCache< Str, Itr >::Group Struct Reference

groups architecture depending packages together More...

#include <pkgcache.h>

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

Public Attributes

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

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.

Definition at line 414 of file pkgcache.h.

Member Data Documentation

◆ d

map_pointer<void> d

Private pointer.

Definition at line 434 of file pkgcache.h.

◆ FirstPackage

map_pointer<Package> FirstPackage

Link to the first package which belongs to the group.

Definition at line 421 of file pkgcache.h.

◆ ID

unique sequel ID

Definition at line 428 of file pkgcache.h.

◆ LastPackage

map_pointer<Package> LastPackage

Link to the last package which belongs to the group.

Definition at line 423 of file pkgcache.h.

◆ Name

Name of the group.

Definition at line 417 of file pkgcache.h.

Referenced by pkgCache< Str, Itr >::FindGrp(), and SortPackagesByName().

◆ Next

Link to the next Group.

Definition at line 426 of file pkgcache.h.

Referenced by pkgCache< Str, Itr >::FindGrp(), and GroupNext().

◆ VersionsInSource

map_pointer<Version> VersionsInSource

List of binary produces by source package with this name.

Definition at line 431 of file pkgcache.h.


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