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

#include <debindexfile.h>

Inheritance diagram for debTranslationsIndex:
Collaboration diagram for debTranslationsIndex:

Public Member Functions

 debTranslationsIndex (std::string URI, std::string Dist, std::string Section, char const *const Language)
 
virtual ~debTranslationsIndex ()
 
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) const
 
virtual bool Exists () const
 
virtual pkgCache::PkgFileIterator FindInCache (pkgCache &Cache) const
 
virtual bool GetIndexes (pkgAcquire *Owner) const
 
virtual const TypeGetType () const
 
virtual bool HasPackages () const
 
bool IsTrusted () const
 
virtual __deprecated bool Merge (pkgCacheGenerator &Gen, OpProgress &Prog) const
 
virtual 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
 
std::string TranslationFile () const
 

Private Attributes

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

Constructor & Destructor Documentation

debTranslationsIndex::debTranslationsIndex ( std::string  URI,
std::string  Dist,
std::string  Section,
char const *const  Language 
)
virtual debTranslationsIndex::~debTranslationsIndex ( )
inlinevirtual

Member Function Documentation

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

Reimplemented in debPackagesIndex.

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

Reimplemented in debSourcesIndex, and debPackagesIndex.

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

Reimplemented in debSourcesIndex.

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

Implements pkgIndexFile.

virtual bool debTranslationsIndex::Exists ( ) const
virtual

Implements pkgIndexFile.

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

Reimplemented from pkgIndexFile.

virtual bool debTranslationsIndex::GetIndexes ( pkgAcquire Owner) const
virtual
virtual const Type* debTranslationsIndex::GetType ( ) const
virtual

Implements pkgIndexFile.

virtual bool debTranslationsIndex::HasPackages ( ) const
virtual

Implements pkgIndexFile.

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

References pkgIndexFile::Trusted.

static std::string pkgIndexFile::LanguageCode ( )
staticinherited
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 debTranslationsIndex::Merge ( pkgCacheGenerator Gen,
OpProgress Prog 
) const
virtual

Reimplemented from pkgIndexFile.

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 debTranslationsIndex::Size ( ) const
virtual

Implements pkgIndexFile.

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

Reimplemented in debSourcesIndex.

std::string debTranslationsIndex::TranslationFile ( ) const
inlineprivate

References Language.

static bool pkgIndexFile::TranslationsAvailable ( )
staticinherited

Member Data Documentation

void* debTranslationsIndex::d
private

dpointer placeholder (for later in case we need it)

std::string debTranslationsIndex::Dist
private
const char* const debTranslationsIndex::Language
private

Referenced by TranslationFile().

std::string debTranslationsIndex::Section
private
bool pkgIndexFile::Trusted
protectedinherited

Referenced by pkgIndexFile::IsTrusted().

std::string debTranslationsIndex::URI
private

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