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::DescFileIterator Class Reference

#include <cacheiterators.h>

Inheritance diagram for pkgCache::DescFileIterator:
Collaboration diagram for pkgCache::DescFileIterator:

Public Member Functions

 DescFileIterator ()
 
 DescFileIterator (pkgCache &Owner, DescFile *Trg)
 
pkgCacheCache () const
 
bool end () const
 
PkgFileIterator File () const
 
unsigned long Index () const
 
bool IsGood () const
 
 operator DescFile * ()
 
 operator DescFileconst * () const
 
bool operator!= (const DescFileIterator &B) const
 
DescFileoperator* ()
 
DescFileconst & operator* () const
 
void operator++ (int)
 
void operator++ ()
 
DescFileoperator-> ()
 
DescFileconst * operator-> () const
 
bool operator== (const DescFileIterator &B) const
 
void ReMap (void const *const oldMap, void const *const newMap)
 

Protected Member Functions

DescFileOwnerPointer () 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
 
DescFileS
 

Constructor & Destructor Documentation

pkgCache::DescFileIterator::DescFileIterator ( )
inline
pkgCache::DescFileIterator::DescFileIterator ( pkgCache Owner,
DescFile Trg 
)
inline

Member Function Documentation

pkgCache* pkgCache::Iterator< DescFile , DescFileIterator >::Cache ( ) const
inlineinherited
bool pkgCache::Iterator< DescFile , DescFileIterator >::end ( ) const
inlineinherited
unsigned long pkgCache::Iterator< DescFile , DescFileIterator >::Index ( ) const
inlineinherited
bool pkgCache::Iterator< DescFile , DescFileIterator >::IsGood ( ) const
inlineinherited
pkgCache::Iterator< DescFile , DescFileIterator >::operator DescFile * ( )
inlineinherited
pkgCache::Iterator< DescFile , DescFileIterator >::operator DescFile const * ( ) const
inlineinherited
bool pkgCache::Iterator< DescFile , DescFileIterator >::operator!= ( const DescFileIterator< DescFile, DescFileIterator > &  B) const
inlineinherited
DescFile & pkgCache::Iterator< DescFile , DescFileIterator >::operator* ( void  )
inlineinherited
DescFile const& pkgCache::Iterator< DescFile , DescFileIterator >::operator* ( void  ) const
inlineinherited
void pkgCache::DescFileIterator::operator++ ( )
inlinevirtual
DescFile * pkgCache::Iterator< DescFile , DescFileIterator >::operator-> ( )
inlineinherited
DescFile const* pkgCache::Iterator< DescFile , DescFileIterator >::operator-> ( ) const
inlineinherited
bool pkgCache::Iterator< DescFile , DescFileIterator >::operator== ( const DescFileIterator< DescFile, DescFileIterator > &  B) const
inlineinherited
DescFile* pkgCache::DescFileIterator::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< DescFile, DescFileIterator >.

References pkgCache::DescFileP, and pkgCache::Iterator< DescFile, DescFileIterator >::Owner.

void pkgCache::Iterator< DescFile , DescFileIterator >::ReMap ( void const *const  oldMap,
void const *const  newMap 
)
inlineinherited

Member Data Documentation

pkgCache* pkgCache::Iterator< DescFile , DescFileIterator >::Owner
protectedinherited

Referenced by File(), operator++(), and OwnerPointer().

DescFile * pkgCache::Iterator< DescFile , DescFileIterator >::S
protectedinherited

Referenced by File(), and operator++().


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