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
debPackagesIndex Class Reference

#include <debindexfile.h>

Inheritance diagram for debPackagesIndex:
Collaboration diagram for debPackagesIndex:

Public Member Functions

 debPackagesIndex (std::string const &URI, std::string const &Dist, std::string const &Section, bool const &Trusted, std::string const &Arch="native")
 
virtual ~debPackagesIndex ()
 
virtual std::string ArchiveInfo (pkgCache::VerIterator Ver) const
 
virtual std::string ArchiveURI (std::string File) const
 
virtual pkgSrcRecords::ParserCreateSrcParser () const
 
virtual std::string Describe (bool Short) const
 
virtual bool Exists () const
 
virtual pkgCache::PkgFileIterator FindInCache (pkgCache &Cache) const
 
virtual const TypeGetType () const
 
virtual bool HasPackages () const
 
bool IsTrusted () const
 
virtual bool Merge (pkgCacheGenerator &Gen, OpProgress *Prog) 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
 
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
 

Private Member Functions

std::string IndexFile (const char *Type) const
 
std::string IndexURI (const char *Type) const
 
std::string Info (const char *Type) const
 

Private Attributes

std::string Architecture
 
void * d
 dpointer placeholder (for later in case we need it) More...
 
std::string Dist
 
std::string Section
 
std::string URI
 

Constructor & Destructor Documentation

debPackagesIndex::debPackagesIndex ( std::string const &  URI,
std::string const &  Dist,
std::string const &  Section,
bool const &  Trusted,
std::string const &  Arch = "native" 
)
virtual debPackagesIndex::~debPackagesIndex ( )
inlinevirtual

Member Function Documentation

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

Reimplemented from pkgIndexFile.

virtual std::string debPackagesIndex::ArchiveURI ( std::string  File) const
inlinevirtual

Reimplemented from pkgIndexFile.

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

Reimplemented in debSourcesIndex.

virtual std::string debPackagesIndex::Describe ( bool  Short) const
virtual

Implements pkgIndexFile.

virtual bool debPackagesIndex::Exists ( ) const
virtual

Implements pkgIndexFile.

virtual pkgCache::PkgFileIterator debPackagesIndex::FindInCache ( pkgCache Cache) const
virtual

Reimplemented from pkgIndexFile.

virtual const Type* debPackagesIndex::GetType ( ) const
virtual

Implements pkgIndexFile.

virtual bool debPackagesIndex::HasPackages ( ) const
inlinevirtual

Implements pkgIndexFile.

std::string debPackagesIndex::IndexFile ( const char *  Type) const
private
std::string debPackagesIndex::IndexURI ( const char *  Type) const
private
std::string debPackagesIndex::Info ( const char *  Type) const
private
bool pkgIndexFile::IsTrusted ( ) const
inlineinherited

References pkgIndexFile::Trusted.

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

Reimplemented from pkgIndexFile.

virtual __deprecated bool pkgIndexFile::Merge ( pkgCacheGenerator Gen,
OpProgress Prog 
) const
inlinevirtualinherited

References pkgIndexFile::Merge().

Referenced by pkgIndexFile::Merge().

Here is the call graph for this function:

Here is the caller graph for this function:

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

References pkgIndexFile::MergeFileProvides().

Referenced by pkgIndexFile::MergeFileProvides().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual unsigned long debPackagesIndex::Size ( ) const
virtual

Implements pkgIndexFile.

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

Reimplemented in debSourcesIndex.

static bool pkgIndexFile::TranslationsAvailable ( )
staticinherited

Member Data Documentation

std::string debPackagesIndex::Architecture
private
void* debPackagesIndex::d
private

dpointer placeholder (for later in case we need it)

std::string debPackagesIndex::Dist
private
std::string debPackagesIndex::Section
private
bool pkgIndexFile::Trusted
protectedinherited

Referenced by pkgIndexFile::IsTrusted().

std::string debPackagesIndex::URI
private

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