apt: pkgAcqBaseIndex Class Reference

apt 2.7.5 commandline package manager

Public Member Functions | List of all members
pkgAcqBaseIndex Class Reference
Acquire system {{{

Common base class for all classes that deal with fetching indexes {{{. More...

`#include <apt-pkg/acquire-item.h>`

Inheritance diagram for pkgAcqBaseIndex:

## Public Member Functions
virtual std::string | GetFinalFilename () const APT_OVERRIDE
| Get the full pathname of the final file for the current URI.
virtual void | Failed (std::string const &Message, pkgAcquire::MethodConfig const *const Cnf) APT_OVERRIDE
| pkgAcqBaseIndex (pkgAcquire *const Owner, pkgAcqMetaClearSig *const TransactionManager, IndexTarget const &Target) APT_NONNULL(2
Public Member Functions inherited from pkgAcqTransactionItem
virtual bool | TransactionState (TransactionStates const state)
virtual std::string | DescURI () const APT_OVERRIDE
virtual HashStringList | GetExpectedHashes () const APT_OVERRIDE
virtual std::string | GetMetaKey () const
virtual bool | HashesRequired () const APT_OVERRIDE
virtual bool | AcquireByHash () const
| pkgAcqTransactionItem (pkgAcquire *const Owner, pkgAcqMetaClearSig *const TransactionManager, IndexTarget const &Target) APT_NONNULL(2

## Additional Inherited Members
Public Types inherited from pkgAcqTransactionItem
enum | TransactionStates { TransactionStarted , TransactionCommit , TransactionAbort }
Public Attributes inherited from pkgAcqTransactionItem
IndexTarget const | Target
std::string | PartialFile
| storge name until a transaction is finished
pkgAcqMetaClearSig *const | TransactionManager
| TransactionManager.
Protected Member Functions inherited from pkgAcqTransactionItem
HashStringList | GetExpectedHashesFor (std::string const &MetaKey) const
bool | QueueURI (pkgAcquire::ItemDesc &Item) APT_OVERRIDE

## Detailed Description

Common base class for all classes that deal with fetching indexes {{{.

## Member Function Documentation

## ◆ Failed()

void Failed | ( | std::string const & | Message,
|  | pkgAcquire::MethodConfig const *const | Cnf
| ) |  |
| virtual

Reimplemented in pkgAcqIndexMergeDiffs, and pkgAcqIndexDiffs.

## ◆ GetFinalFilename()

std::string GetFinalFilename | ( |  | ) | const
| virtual

Get the full pathname of the final file for the current URI.

Reimplemented in pkgAcqIndex, and pkgAcqDiffIndex.

References IndexTarget::URI.

The documentation for this class was generated from the following files:

- apt-pkg/acquire-item.h
- apt-pkg/acquire-item.cc