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
metaIndex Class Referenceabstract

#include <metaindex.h>

Inheritance diagram for metaIndex:
Collaboration diagram for metaIndex:

Public Member Functions

 metaIndex (std::string const &URI, std::string const &Dist, char const *const Type)
 
virtual ~metaIndex ()
 
virtual std::string ArchiveURI (std::string const &) const =0
 
virtual std::string GetDist () const
 
virtual bool GetIndexes (pkgAcquire *Owner, bool const &GetAll=false) const =0
 
virtual std::vector
< pkgIndexFile * > * 
GetIndexFiles ()=0
 
virtual const char * GetType () const
 
virtual std::string GetURI () const
 
virtual bool IsTrusted () const =0
 

Protected Attributes

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

Constructor & Destructor Documentation

metaIndex::metaIndex ( std::string const &  URI,
std::string const &  Dist,
char const *const  Type 
)
inline
virtual metaIndex::~metaIndex ( )
inlinevirtual

References Indexes.

Member Function Documentation

virtual std::string metaIndex::ArchiveURI ( std::string const &  ) const
pure virtual

Implemented in debReleaseIndex.

virtual std::string metaIndex::GetDist ( ) const
inlinevirtual

References Dist.

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

Implemented in debReleaseIndex.

virtual std::vector<pkgIndexFile *>* metaIndex::GetIndexFiles ( )
pure virtual

Implemented in debReleaseIndex.

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

References Type.

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

References URI.

virtual bool metaIndex::IsTrusted ( ) const
pure virtual

Implemented in debReleaseIndex.

Member Data Documentation

std::string metaIndex::Dist
protected

Referenced by GetDist().

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

Referenced by ~metaIndex().

bool metaIndex::Trusted
protected
const char* metaIndex::Type
protected

Referenced by GetType().

std::string metaIndex::URI
protected

Referenced by GetURI().


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