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

#include <debmetaindex.h>

Inheritance diagram for debReleaseIndex:
Collaboration diagram for debReleaseIndex:

Classes

class  debSectionEntry
 

Public Member Functions

 debReleaseIndex (std::string const &URI, std::string const &Dist)
 
 debReleaseIndex (std::string const &URI, std::string const &Dist, bool const Trusted)
 
virtual ~debReleaseIndex ()
 
virtual std::string ArchiveURI (std::string const &File) const
 
std::vector< struct
IndexTarget * > * 
ComputeIndexTargets () const
 
virtual std::string GetDist () const
 
virtual bool GetIndexes (pkgAcquire *Owner, bool const &GetAll=false) const
 
virtual std::vector
< pkgIndexFile * > * 
GetIndexFiles ()
 
virtual const char * GetType () const
 
virtual std::string GetURI () const
 
std::string IndexURI (const char *Type, std::string const &Section, std::string const &Arch="native") const
 
std::string IndexURISuffix (const char *Type, std::string const &Section, std::string const &Arch="native") const
 
std::string Info (const char *Type, std::string const &Section, std::string const &Arch="") const
 
virtual bool IsTrusted () const
 
std::string MetaIndexFile (const char *Types) const
 
std::string MetaIndexInfo (const char *Type) const
 
std::string MetaIndexURI (const char *Type) const
 
void PushSectionEntry (std::vector< std::string > const &Archs, const debSectionEntry *Entry)
 
void PushSectionEntry (std::string const &Arch, const debSectionEntry *Entry)
 
void PushSectionEntry (const debSectionEntry *Entry)
 
void SetTrusted (bool const Trusted)
 
std::string SourceIndexURI (const char *Type, const std::string &Section) const
 
std::string SourceIndexURISuffix (const char *Type, const std::string &Section) const
 
std::string TranslationIndexURI (const char *Type, const std::string &Section) const
 
std::string TranslationIndexURISuffix (const char *Type, const std::string &Section) const
 

Protected Attributes

std::string Dist
 
std::vector< pkgIndexFile * > * Indexes
 
const char * Type
 
std::string URI
 

Private Types

enum  {
  ALWAYS_TRUSTED,
  NEVER_TRUSTED,
  CHECK_TRUST
}
 

Private Attributes

std::map< std::string,
std::vector< debSectionEntry
const * > > 
ArchEntries
 
void * d
 dpointer placeholder (for later in case we need it) More...
 
enum debReleaseIndex:: { ... }  Trusted
 

Member Enumeration Documentation

anonymous enum
private
Enumerator
ALWAYS_TRUSTED 
NEVER_TRUSTED 
CHECK_TRUST 

Constructor & Destructor Documentation

debReleaseIndex::debReleaseIndex ( std::string const &  URI,
std::string const &  Dist 
)
debReleaseIndex::debReleaseIndex ( std::string const &  URI,
std::string const &  Dist,
bool const  Trusted 
)
virtual debReleaseIndex::~debReleaseIndex ( )
virtual

Member Function Documentation

virtual std::string debReleaseIndex::ArchiveURI ( std::string const &  File) const
inlinevirtual

Implements metaIndex.

std::vector<struct IndexTarget *>* debReleaseIndex::ComputeIndexTargets ( ) const
virtual std::string metaIndex::GetDist ( ) const
inlinevirtualinherited

References metaIndex::Dist.

virtual bool debReleaseIndex::GetIndexes ( pkgAcquire Owner,
bool const &  GetAll = false 
) const
virtual

Implements metaIndex.

virtual std::vector<pkgIndexFile *>* debReleaseIndex::GetIndexFiles ( )
virtual

Implements metaIndex.

virtual const char* metaIndex::GetType ( ) const
inlinevirtualinherited

References metaIndex::Type.

virtual std::string metaIndex::GetURI ( ) const
inlinevirtualinherited

References metaIndex::URI.

std::string debReleaseIndex::IndexURI ( const char *  Type,
std::string const &  Section,
std::string const &  Arch = "native" 
) const
std::string debReleaseIndex::IndexURISuffix ( const char *  Type,
std::string const &  Section,
std::string const &  Arch = "native" 
) const
std::string debReleaseIndex::Info ( const char *  Type,
std::string const &  Section,
std::string const &  Arch = "" 
) const
virtual bool debReleaseIndex::IsTrusted ( ) const
virtual

Implements metaIndex.

std::string debReleaseIndex::MetaIndexFile ( const char *  Types) const
std::string debReleaseIndex::MetaIndexInfo ( const char *  Type) const
std::string debReleaseIndex::MetaIndexURI ( const char *  Type) const
void debReleaseIndex::PushSectionEntry ( std::vector< std::string > const &  Archs,
const debSectionEntry Entry 
)
void debReleaseIndex::PushSectionEntry ( std::string const &  Arch,
const debSectionEntry Entry 
)
void debReleaseIndex::PushSectionEntry ( const debSectionEntry Entry)
void debReleaseIndex::SetTrusted ( bool const  Trusted)
std::string debReleaseIndex::SourceIndexURI ( const char *  Type,
const std::string &  Section 
) const
std::string debReleaseIndex::SourceIndexURISuffix ( const char *  Type,
const std::string &  Section 
) const
std::string debReleaseIndex::TranslationIndexURI ( const char *  Type,
const std::string &  Section 
) const
std::string debReleaseIndex::TranslationIndexURISuffix ( const char *  Type,
const std::string &  Section 
) const

Member Data Documentation

std::map<std::string, std::vector<debSectionEntry const*> > debReleaseIndex::ArchEntries
private
void* debReleaseIndex::d
private

dpointer placeholder (for later in case we need it)

std::string metaIndex::Dist
protectedinherited

Referenced by metaIndex::GetDist().

std::vector<pkgIndexFile *>* metaIndex::Indexes
protectedinherited

Referenced by metaIndex::~metaIndex().

enum { ... } debReleaseIndex::Trusted
const char* metaIndex::Type
protectedinherited

Referenced by metaIndex::GetType().

std::string metaIndex::URI
protectedinherited

Referenced by metaIndex::GetURI().


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