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)  

debSourcesIndex Class Reference

#include <debindexfile.h>

Inheritance diagram for debSourcesIndex:
[legend]
Collaboration diagram for debSourcesIndex:
[legend]

Public Member Functions

virtual const TypeGetType () const APT_OVERRIDE APT_PURE
 
virtual std::string SourceInfo (pkgSrcRecords::Parser const &Record, pkgSrcRecords::File const &File) const APT_OVERRIDE
 
virtual pkgSrcRecords::ParserCreateSrcParser () const APT_OVERRIDE
 
virtual bool HasPackages () const APT_OVERRIDE
 
 debSourcesIndex (IndexTarget const &Target, bool const Trusted)
 
virtual ~debSourcesIndex ()
 
- Public Member Functions inherited from pkgDebianIndexTargetFile
virtual std::string ArchiveURI (std::string const &File) const APT_OVERRIDE
 
virtual std::string Describe (bool const Short=false) const APT_OVERRIDE
 
virtual bool Exists () const APT_OVERRIDE
 
virtual unsigned long Size () const APT_OVERRIDE
 
IndexTarget GetIndexTarget () const APT_HIDDEN
 
 pkgDebianIndexTargetFile (IndexTarget const &Target, bool const Trusted)
 
virtual ~pkgDebianIndexTargetFile ()
 
- Public Member Functions inherited from pkgDebianIndexFile
virtual bool Merge (pkgCacheGenerator &Gen, OpProgress *const Prog) APT_OVERRIDE
 
virtual pkgCache::PkgFileIterator FindInCache (pkgCache &Cache) const APT_OVERRIDE
 
 pkgDebianIndexFile (bool const Trusted)
 
virtual ~pkgDebianIndexFile ()
 
- Public Member Functions inherited from pkgIndexFile
virtual std::string ArchiveInfo (pkgCache::VerIterator const &Ver) const
 
bool IsTrusted () const
 
 pkgIndexFile (bool const Trusted)
 
virtual ~pkgIndexFile ()
 

Private Member Functions

virtual uint8_t GetIndexFlags () const APT_OVERRIDE
 
virtual bool OpenListFile (FileFd &Pkg, std::string const &FileName) APT_OVERRIDE
 
virtual APT_HIDDEN pkgCacheListParserCreateListParser (FileFd &Pkg) APT_OVERRIDE
 

Private Attributes

void *const d
 

Additional Inherited Members

- Protected Member Functions inherited from pkgDebianIndexTargetFile
virtual std::string IndexFileName () const APT_OVERRIDE
 
virtual std::string GetComponent () const APT_OVERRIDE
 
virtual std::string GetArchitecture () const APT_OVERRIDE
 
virtual std::string GetProgressDescription () const APT_OVERRIDE
 
- Protected Attributes inherited from pkgDebianIndexTargetFile
IndexTarget const Target
 
- Protected Attributes inherited from pkgIndexFile
bool Trusted
 

Detailed Description

Definition at line 90 of file debindexfile.h.

Constructor & Destructor Documentation

◆ debSourcesIndex()

debSourcesIndex ( IndexTarget const &  Target,
bool const  Trusted 
)

Definition at line 39 of file debindexfile.cc.

◆ ~debSourcesIndex()

~debSourcesIndex ( )
virtual

Definition at line 418 of file debindexfile.cc.

Member Function Documentation

◆ CreateListParser()

pkgCacheListParser * CreateListParser ( FileFd Pkg)
privatevirtual

Reimplemented from pkgDebianIndexFile.

Definition at line 69 of file debindexfile.cc.

◆ CreateSrcParser()

pkgSrcRecords::Parser * CreateSrcParser ( ) const
virtual

Reimplemented from pkgIndexFile.

Definition at line 58 of file debindexfile.cc.

References FileExists(), and pkgDebianIndexTargetFile::IndexFileName().

◆ GetIndexFlags()

uint8_t GetIndexFlags ( ) const
privatevirtual

Implements pkgDebianIndexFile.

Definition at line 73 of file debindexfile.cc.

◆ GetType()

const pkgIndexFile::Type * GetType ( ) const
virtual

Implements pkgIndexFile.

Definition at line 385 of file debindexfile.cc.

References _apt_Src.

◆ HasPackages()

virtual bool HasPackages ( ) const
inlinevirtual

Implements pkgIndexFile.

Definition at line 109 of file debindexfile.h.

◆ OpenListFile()

bool OpenListFile ( FileFd Pkg,
std::string const &  FileName 
)
privatevirtual

Reimplemented from pkgDebianIndexTargetFile.

Definition at line 65 of file debindexfile.cc.

◆ SourceInfo()

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

Member Data Documentation

◆ d

void* const d
private

Definition at line 92 of file debindexfile.h.


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