apt @VERSION@
|
Public Member Functions | |
virtual void | operator++ (int)=0 |
virtual void | operator++ ()=0 |
bool | end () const |
bool | operator== (const Itr &B) const |
bool | operator!= (const Itr &B) const |
Str * | operator-> () |
Str const * | operator-> () const |
operator Str * () | |
operator Str const * () const | |
Str & | operator* () |
Str const & | operator* () const |
pkgCache * | Cache () const |
void | operator= (const Itr &B) |
bool | IsGood () const |
unsigned long | Index () const |
void | ReMap (void const *const oldMap, void const *const newMap) |
Iterator (pkgCache &Owner, Str *T=0) | |
Protected Member Functions | |
virtual Str * | OwnerPointer () const =0 |
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. | |
Protected Attributes | |
Str * | S |
pkgCache * | Owner |
virtual Str* OwnerPointer | ( | ) | const [protected, pure virtual] |
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.
Implemented in pkgCache::GrpIterator, pkgCache::PkgIterator, pkgCache::VerIterator, pkgCache::DescIterator, pkgCache::DepIterator, pkgCache::PrvIterator, pkgCache::PkgFileIterator, pkgCache::VerFileIterator, and pkgCache::DescFileIterator.