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)  

APT Namespace Reference

Namespaces

namespace  CacheFilter
 
namespace  Configuration
 
namespace  Internal
 
namespace  KernelAutoRemoveHelper
 
namespace  Progress
 
namespace  String
 
namespace  Upgrade
 

Classes

class  CacheSetHelper
 
class  Container_const_iterator
 
class  Container_const_reverse_iterator
 
class  Container_iterator
 
class  Container_iterator_base
 
class  Container_reverse_iterator
 
class  PackageContainer
 
class  PackageContainerInterface
 
class  PackageUniverse
 
struct  PrettyDep
 
struct  PrettyPkg
 
class  StateChanges
 
class  StringView
 Simple subset of std::string_view from C++17. More...
 
class  VersionContainer
 
class  VersionContainerInterface
 

Typedefs

typedef PackageContainer< std::set< pkgCache::PkgIterator > > PackageSet
 
typedef PackageContainer< std::list< pkgCache::PkgIterator > > PackageList
 
typedef PackageContainer< std::deque< pkgCache::PkgIterator > > PackageDeque
 
using PackageVector = PackageContainer< std::vector< pkgCache::PkgIterator > >
 
typedef VersionContainer< std::set< pkgCache::VerIterator > > VersionSet
 
typedef VersionContainer< std::list< pkgCache::VerIterator > > VersionList
 
typedef VersionContainer< std::deque< pkgCache::VerIterator > > VersionDeque
 
typedef VersionContainer< std::vector< pkgCache::VerIterator > > VersionVector
 

Functions

static void setDefaultConfigurationForCompressors ()
 
static int StringViewCompareFast (StringView a, StringView b)
 Faster comparison for string views (compare size before data) More...
 
static constexpr APT::StringView operator""_sv (const char *data, size_t size)
 

Variables

APT_HIDDEN std::unordered_map< std::string, std::vector< std::string > > ArchToTupleMap
 

Typedef Documentation

◆ PackageDeque

Definition at line 682 of file cacheset.h.

◆ PackageList

Definition at line 681 of file cacheset.h.

◆ PackageSet

Definition at line 676 of file cacheset.h.

◆ PackageVector

Definition at line 683 of file cacheset.h.

◆ VersionDeque

Definition at line 1064 of file cacheset.h.

◆ VersionList

Definition at line 1063 of file cacheset.h.

◆ VersionSet

Definition at line 1058 of file cacheset.h.

◆ VersionVector

Definition at line 1065 of file cacheset.h.

Function Documentation

◆ operator""_sv()

static constexpr APT::StringView APT::operator""_sv ( const char *  data,
size_t  size 
)
inlinestaticconstexpr

Definition at line 152 of file string_view.h.

◆ setDefaultConfigurationForCompressors()

static void APT::setDefaultConfigurationForCompressors ( )
static

Definition at line 36 of file aptconfiguration.cc.

References _config, and FileExists().

◆ StringViewCompareFast()

static int APT::StringViewCompareFast ( StringView  a,
StringView  b 
)
inlinestatic

Faster comparison for string views (compare size before data)

Still stable, but faster than the normal ordering.

Definition at line 145 of file string_view.h.

References StringView::data(), and StringView::size().

Referenced by pkgCache< Str, Itr >::FindGrp(), pkgCacheGenerator::NewGroup(), and pkgCacheGenerator::NewPackage().

Variable Documentation

◆ ArchToTupleMap

APT_HIDDEN std::unordered_map< std::string, std::vector< std::string > > ArchToTupleMap

Definition at line 27 of file cachefilter.cc.

Referenced by APT::CacheFilter::ArchToTuple(), and pkgInitArchTupleMap().