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)  

pkgIndexFile Class Referenceabstract

#include <indexfile.h>

Inheritance diagram for pkgIndexFile:


class  Type

Public Member Functions

virtual const TypeGetType () const =0
virtual std::string ArchiveInfo (pkgCache::VerIterator const &Ver) const
virtual std::string SourceInfo (pkgSrcRecords::Parser const &Record, pkgSrcRecords::File const &File) const
virtual std::string Describe (bool const Short=false) const =0
virtual std::string ArchiveURI (std::string const &) const
virtual pkgSrcRecords::ParserCreateSrcParser () const
virtual bool Exists () const =0
virtual bool HasPackages () const =0
virtual unsigned long Size () const =0
virtual bool Merge (pkgCacheGenerator &, OpProgress *const)
virtual pkgCache::PkgFileIterator FindInCache (pkgCache &Cache) const
bool IsTrusted () const
 pkgIndexFile (bool const Trusted)
virtual ~pkgIndexFile ()

Protected Attributes

bool Trusted

Private Attributes

void *const d

Detailed Description

Definition at line 101 of file indexfile.h.

Constructor & Destructor Documentation

◆ pkgIndexFile()

pkgIndexFile ( bool const  Trusted)

Definition at line 63 of file indexfile.cc.

◆ ~pkgIndexFile()

~pkgIndexFile ( )

Definition at line 382 of file indexfile.cc.

Member Function Documentation

◆ ArchiveInfo()

std::string ArchiveInfo ( pkgCache::VerIterator const &  Ver) const

Reimplemented in debPackagesIndex, and debDebPkgFileIndex.

Definition at line 69 of file indexfile.cc.

Referenced by pkgAcqArchive::pkgAcqArchive().

◆ ArchiveURI()

virtual std::string ArchiveURI ( std::string const &  ) const

Reimplemented in pkgDebianIndexRealFile, and pkgDebianIndexTargetFile.

Definition at line 135 of file indexfile.h.

Referenced by DoSource(), and pkgAcqArchive::pkgAcqArchive().

◆ CreateSrcParser()

virtual pkgSrcRecords::Parser* CreateSrcParser ( ) const

Reimplemented in debSourcesIndex, and debDscFileIndex.

Definition at line 138 of file indexfile.h.

◆ Describe()

virtual std::string Describe ( bool const  Short = false) const
pure virtual

◆ Exists()

virtual bool Exists ( ) const
pure virtual

◆ FindInCache()

pkgCache::PkgFileIterator FindInCache ( pkgCache Cache) const

◆ GetType()

◆ HasPackages()

◆ IsTrusted()

bool IsTrusted ( ) const

Definition at line 147 of file indexfile.h.

Referenced by DoSource(), and pkgAcqArchive::pkgAcqArchive().

◆ Merge()

virtual bool Merge ( pkgCacheGenerator ,
OpProgress * const   

Reimplemented in pkgDebianIndexFile.

Definition at line 144 of file indexfile.h.

Referenced by pkgCacheFile::AddIndexFile().

◆ Size()

virtual unsigned long Size ( ) const
pure virtual

◆ SourceInfo()

std::string SourceInfo ( pkgSrcRecords::Parser const &  Record,
pkgSrcRecords::File const &  File 
) const

Reimplemented in debSourcesIndex.

Definition at line 81 of file indexfile.cc.

Referenced by DoSource().

Member Data Documentation

◆ d

void* const d

Definition at line 103 of file indexfile.h.

◆ Trusted

bool Trusted

Definition at line 105 of file indexfile.h.

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