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:
[legend]

Classes

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)
explicit

Definition at line 63 of file indexfile.cc.

◆ ~pkgIndexFile()

~pkgIndexFile ( )
virtual

Definition at line 382 of file indexfile.cc.

Member Function Documentation

◆ ArchiveInfo()

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

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
inlinevirtual

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
inlinevirtual

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
virtual

◆ GetType()

◆ HasPackages()

◆ IsTrusted()

bool IsTrusted ( ) const
inline

Definition at line 147 of file indexfile.h.

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

◆ Merge()

virtual bool Merge ( pkgCacheGenerator ,
OpProgress * const   
)
inlinevirtual

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
virtual

Reimplemented in debSourcesIndex.

Definition at line 81 of file indexfile.cc.

Referenced by DoSource().

Member Data Documentation

◆ d

void* const d
private

Definition at line 103 of file indexfile.h.

◆ Trusted

bool Trusted
protected

Definition at line 105 of file indexfile.h.


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