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
pkgCache::PkgFileIterator Class Reference

#include <cacheiterators.h>

Inheritance diagram for pkgCache::PkgFileIterator:
Collaboration diagram for pkgCache::PkgFileIterator:

Public Member Functions

 PkgFileIterator ()
 
 PkgFileIterator (pkgCache &Owner)
 
 PkgFileIterator (pkgCache &Owner, PackageFile *Trg)
 
const char * Architecture () const
 
const char * Archive () const
 
pkgCacheCache () const
 
const char * Codename () const
 
const char * Component () const
 
bool end () const
 
const char * FileName () const
 
unsigned long Index () const
 
const char * IndexType () const
 
bool IsGood () const
 
bool IsOk ()
 
const char * Label () const
 
 operator PackageFile * ()
 
 operator PackageFileconst * () const
 
bool operator!= (const PkgFileIterator &B) const
 
PackageFileoperator* ()
 
PackageFileconst & operator* () const
 
void operator++ (int)
 
void operator++ ()
 
PackageFileoperator-> ()
 
PackageFileconst * operator-> () const
 
bool operator== (const PkgFileIterator &B) const
 
const char * Origin () const
 
std::string RelStr ()
 
void ReMap (void const *const oldMap, void const *const newMap)
 
const char * Site () const
 
const char * Version () const
 

Protected Member Functions

PackageFileOwnerPointer () const
 Returns the Pointer for this struct in the owner The implementation of this method should be pretty short as it will only return the Pointer into the mmap stored in the owner but the name of this pointer is different for each stucture and we want to abstract here at least for the basic methods from the actual structure. More...
 

Protected Attributes

pkgCacheOwner
 
PackageFileS
 

Constructor & Destructor Documentation

pkgCache::PkgFileIterator::PkgFileIterator ( )
inline
pkgCache::PkgFileIterator::PkgFileIterator ( pkgCache Owner)
inline
pkgCache::PkgFileIterator::PkgFileIterator ( pkgCache Owner,
PackageFile Trg 
)
inline

Member Function Documentation

pkgCache* pkgCache::Iterator< PackageFile , PkgFileIterator >::Cache ( ) const
inlineinherited
bool pkgCache::Iterator< PackageFile , PkgFileIterator >::end ( ) const
inlineinherited
unsigned long pkgCache::Iterator< PackageFile , PkgFileIterator >::Index ( ) const
inlineinherited
bool pkgCache::Iterator< PackageFile , PkgFileIterator >::IsGood ( ) const
inlineinherited
bool pkgCache::PkgFileIterator::IsOk ( )
pkgCache::Iterator< PackageFile , PkgFileIterator >::operator PackageFile * ( )
inlineinherited
pkgCache::Iterator< PackageFile , PkgFileIterator >::operator PackageFile const * ( ) const
inlineinherited
bool pkgCache::Iterator< PackageFile , PkgFileIterator >::operator!= ( const PkgFileIterator< PackageFile, PkgFileIterator > &  B) const
inlineinherited
PackageFile & pkgCache::Iterator< PackageFile , PkgFileIterator >::operator* ( void  )
inlineinherited
PackageFile const& pkgCache::Iterator< PackageFile , PkgFileIterator >::operator* ( void  ) const
inlineinherited
void pkgCache::PkgFileIterator::operator++ ( )
inlinevirtual
PackageFile * pkgCache::Iterator< PackageFile , PkgFileIterator >::operator-> ( )
inlineinherited
PackageFile const* pkgCache::Iterator< PackageFile , PkgFileIterator >::operator-> ( ) const
inlineinherited
bool pkgCache::Iterator< PackageFile , PkgFileIterator >::operator== ( const PkgFileIterator< PackageFile, PkgFileIterator > &  B) const
inlineinherited
PackageFile* pkgCache::PkgFileIterator::OwnerPointer ( ) const
inlineprotectedvirtual

Returns the Pointer for this struct in the owner The implementation of this method should be pretty short as it will only return the Pointer into the mmap stored in the owner but the name of this pointer is different for each stucture and we want to abstract here at least for the basic methods from the actual structure.

Returns
Pointer to the first structure of this type

Implements pkgCache::Iterator< PackageFile, PkgFileIterator >.

References pkgCache::Iterator< PackageFile, PkgFileIterator >::Owner, and pkgCache::PkgFileP.

std::string pkgCache::PkgFileIterator::RelStr ( )
void pkgCache::Iterator< PackageFile , PkgFileIterator >::ReMap ( void const *const  oldMap,
void const *const  newMap 
)
inlineinherited

Member Data Documentation


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