libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pkgIndexFile Class Referenceabstract

#include <indexfile.h>

Inheritance diagram for pkgIndexFile:
Collaboration diagram for pkgIndexFile:

Classes

class  Type
 

Public Member Functions

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

Static Public Member Functions

static bool CheckLanguageCode (const char *Lang)
 
static std::string LanguageCode ()
 
static bool TranslationsAvailable ()
 

Protected Attributes

bool Trusted
 

Constructor & Destructor Documentation

pkgIndexFile::pkgIndexFile ( bool  Trusted)
inline
virtual pkgIndexFile::~pkgIndexFile ( )
inlinevirtual

Member Function Documentation

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

Reimplemented in debPackagesIndex.

virtual std::string pkgIndexFile::ArchiveURI ( std::string  ) const
inlinevirtual

Reimplemented in debSourcesIndex, and debPackagesIndex.

static bool pkgIndexFile::CheckLanguageCode ( const char *  Lang)
static
virtual pkgSrcRecords::Parser* pkgIndexFile::CreateSrcParser ( ) const
inlinevirtual

Reimplemented in debSourcesIndex.

virtual std::string pkgIndexFile::Describe ( bool  Short = false) const
pure virtual
virtual bool pkgIndexFile::Exists ( ) const
pure virtual
virtual pkgCache::PkgFileIterator pkgIndexFile::FindInCache ( pkgCache Cache) const
virtual
virtual const Type* pkgIndexFile::GetType ( ) const
pure virtual
virtual bool pkgIndexFile::HasPackages ( ) const
pure virtual
bool pkgIndexFile::IsTrusted ( ) const
inline

References Trusted.

static std::string pkgIndexFile::LanguageCode ( )
static
virtual bool pkgIndexFile::Merge ( pkgCacheGenerator ,
OpProgress  
) const
inlinevirtual
virtual __deprecated bool pkgIndexFile::Merge ( pkgCacheGenerator Gen,
OpProgress Prog 
) const
inlinevirtual

References Merge().

Referenced by Merge().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual bool pkgIndexFile::MergeFileProvides ( pkgCacheGenerator ,
OpProgress  
) const
inlinevirtual
virtual __deprecated bool pkgIndexFile::MergeFileProvides ( pkgCacheGenerator Gen,
OpProgress Prog 
) const
inlinevirtual

References MergeFileProvides().

Referenced by MergeFileProvides().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual unsigned long pkgIndexFile::Size ( ) const
pure virtual
virtual std::string pkgIndexFile::SourceInfo ( pkgSrcRecords::Parser const &  Record,
pkgSrcRecords::File const &  File 
) const
virtual

Reimplemented in debSourcesIndex.

static bool pkgIndexFile::TranslationsAvailable ( )
static

Member Data Documentation

bool pkgIndexFile::Trusted
protected

Referenced by IsTrusted().


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