apt 3.0.3
commandline package manager
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
debDebPkgFileIndex Class Reference
Inheritance diagram for debDebPkgFileIndex:
[legend]
Collaboration diagram for debDebPkgFileIndex:
[legend]

Public Member Functions

const TypeGetType () const override APT_PURE
 
bool HasPackages () const override
 
pkgCache::PkgFileIterator FindInCache (pkgCache &Cache) const override
 
 debDebPkgFileIndex (std::string const &DebFile)
 
std::string ArchiveInfo (pkgCache::VerIterator const &Ver) const override
 
- Public Member Functions inherited from pkgDebianIndexRealFile
std::string Describe (bool=false) const override
 
bool Exists () const override
 
unsigned long Size () const override
 
std::string ArchiveURI (std::string const &) const override
 
 pkgDebianIndexRealFile (std::string const &File, bool const Trusted)
 
- Public Member Functions inherited from pkgDebianIndexFile
bool Merge (pkgCacheGenerator &Gen, OpProgress *Prog) override
 
pkgCache::PkgFileIterator FindInCache (pkgCache &Cache) const override
 
 pkgDebianIndexFile (bool const Trusted)
 
- Public Member Functions inherited from pkgIndexFile
virtual std::string SourceInfo (pkgSrcRecords::Parser const &Record, pkgSrcRecords::File const &File) const
 
virtual pkgSrcRecords::ParserCreateSrcParser () const
 
bool IsTrusted () const
 
 pkgIndexFile (bool const Trusted)
 

Static Public Member Functions

static bool GetContent (std::ostream &content, std::string const &debfile)
 

Protected Member Functions

std::string GetComponent () const override
 
std::string GetArchitecture () const override
 
uint8_t GetIndexFlags () const override
 
bool OpenListFile (FileFd &Pkg, std::string const &FileName) override
 
APT_HIDDEN pkgCacheListParserCreateListParser (FileFd &Pkg) override
 
- Protected Member Functions inherited from pkgDebianIndexRealFile
std::string IndexFileName () const override
 
std::string GetProgressDescription () const override
 
bool OpenListFile (FileFd &Pkg, std::string const &FileName) override
 

Additional Inherited Members

- Protected Attributes inherited from pkgDebianIndexRealFile
std::string File
 
- Protected Attributes inherited from pkgIndexFile
bool Trusted
 

Member Function Documentation

◆ ArchiveInfo()

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

Reimplemented from pkgIndexFile.

◆ CreateListParser()

pkgCacheListParser * CreateListParser ( FileFd Pkg)
overrideprotectedvirtual

Reimplemented from pkgDebianIndexFile.

◆ FindInCache()

pkgCache::PkgFileIterator FindInCache ( pkgCache Cache) const
overridevirtual

Reimplemented from pkgIndexFile.

◆ GetArchitecture()

std::string GetArchitecture ( ) const
overrideprotectedvirtual

Implements pkgDebianIndexFile.

◆ GetComponent()

std::string GetComponent ( ) const
overrideprotectedvirtual

Implements pkgDebianIndexFile.

◆ GetContent()

bool GetContent ( std::ostream &  content,
std::string const &  debfile 
)
static

get the control (file) content of the deb file

Parameters
[out]contentof the control file
debfileis the filename of the .deb-file
Returns
true if successful, otherwise false.

◆ GetIndexFlags()

uint8_t GetIndexFlags ( ) const
overrideprotectedvirtual

Implements pkgDebianIndexFile.

◆ GetType()

const pkgIndexFile::Type * GetType ( ) const
overridevirtual

Implements pkgIndexFile.

◆ HasPackages()

bool HasPackages ( ) const
inlineoverridevirtual

Implements pkgIndexFile.

◆ OpenListFile()

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

Implements pkgDebianIndexFile.


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