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

#include <cacheiterators.h>

Inheritance diagram for pkgCache::VerFileIterator:
Collaboration diagram for pkgCache::VerFileIterator:

Public Member Functions

 VerFileIterator ()
 
 VerFileIterator (pkgCache &Owner, VerFile *Trg)
 
pkgCacheCache () const
 
bool end () const
 
PkgFileIterator File () const
 
unsigned long Index () const
 
bool IsGood () const
 
 operator VerFile * ()
 
 operator VerFileconst * () const
 
bool operator!= (const VerFileIterator &B) const
 
VerFileoperator* ()
 
VerFileconst & operator* () const
 
void operator++ (int)
 
void operator++ ()
 
VerFileoperator-> ()
 
VerFileconst * operator-> () const
 
bool operator== (const VerFileIterator &B) const
 
void ReMap (void const *const oldMap, void const *const newMap)
 

Protected Member Functions

VerFileOwnerPointer () 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
 
VerFileS
 

Constructor & Destructor Documentation

pkgCache::VerFileIterator::VerFileIterator ( )
inline
pkgCache::VerFileIterator::VerFileIterator ( pkgCache Owner,
VerFile Trg 
)
inline

Member Function Documentation

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

References pkgCache::Iterator< VerFile, VerFileIterator >::Owner, and pkgCache::VerFileP.

void pkgCache::Iterator< VerFile , VerFileIterator >::ReMap ( void const *const  oldMap,
void const *const  newMap 
)
inlineinherited

Member Data Documentation

pkgCache* pkgCache::Iterator< VerFile , VerFileIterator >::Owner
protectedinherited

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

VerFile * pkgCache::Iterator< VerFile , VerFileIterator >::S
protectedinherited

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


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