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

#include <debindexfile.h>

Inheritance diagram for debSourcesIndex:
Collaboration diagram for debSourcesIndex:

Public Member Functions

 debSourcesIndex (std::string URI, std::string Dist, std::string Section, bool Trusted)
 
virtual ~debSourcesIndex ()
 
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 &, 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
 
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

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

Constructor & Destructor Documentation

debSourcesIndex::debSourcesIndex ( std::string  URI,
std::string  Dist,
std::string  Section,
bool  Trusted 
)
virtual debSourcesIndex::~debSourcesIndex ( )
inlinevirtual

Member Function Documentation

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

Reimplemented in debPackagesIndex.

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

Reimplemented from pkgIndexFile.

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

Reimplemented from pkgIndexFile.

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

Implements pkgIndexFile.

virtual bool debSourcesIndex::Exists ( ) const
virtual

Implements pkgIndexFile.

virtual pkgCache::PkgFileIterator pkgIndexFile::FindInCache ( pkgCache Cache) const
virtualinherited
virtual const Type* debSourcesIndex::GetType ( ) const
virtual

Implements pkgIndexFile.

virtual bool debSourcesIndex::HasPackages ( ) const
inlinevirtual

Implements pkgIndexFile.

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

References pkgIndexFile::Trusted.

static std::string pkgIndexFile::LanguageCode ( )
staticinherited
virtual bool pkgIndexFile::Merge ( pkgCacheGenerator ,
OpProgress  
) const
inlinevirtualinherited
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 debSourcesIndex::Size ( ) const
virtual

Implements pkgIndexFile.

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

Reimplemented from pkgIndexFile.

static bool pkgIndexFile::TranslationsAvailable ( )
staticinherited

Member Data Documentation

void* debSourcesIndex::d
private

dpointer placeholder (for later in case we need it)

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

Referenced by pkgIndexFile::IsTrusted().

std::string debSourcesIndex::URI
private

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