apt  0.9.9.1~ubuntu1
Public Member Functions | Protected Member Functions | List of all members
pkgCache::PkgFileIterator Class Reference
Inheritance diagram for pkgCache::PkgFileIterator:
pkgCache::Iterator< PackageFile, PkgFileIterator >

Public Member Functions

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

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...
 

Additional Inherited Members

- Protected Attributes inherited from pkgCache::Iterator< PackageFile, PkgFileIterator >
PackageFileS
 
pkgCacheOwner
 

Member Function Documentation

PackageFile* 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 >.


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