List of all members.
Public Member Functions |
void | operator++ (int) |
void | operator++ () |
int | CompareVer (const VerIterator &B) const |
bool | SimilarVer (const VerIterator &B) const |
| compares two version and returns if they are similar
|
const char * | VerStr () const |
const char * | Section () const |
const char * | Arch () const |
PkgIterator | ParentPkg () const |
DescIterator | DescriptionList () const |
DescIterator | TranslatedDescription () const |
DepIterator | DependsList () const |
PrvIterator | ProvidesList () const |
VerFileIterator | FileList () const |
bool | Downloadable () const |
const char * | PriorityType () const |
std::string | RelStr () const |
bool | Automatic () const |
VerFileIterator | NewestFile () const |
| VerIterator (pkgCache &Owner, Version *Trg=0) |
bool | end () const |
bool | operator== (const VerIterator &B) const |
bool | operator!= (const VerIterator &B) const |
Version * | operator-> () |
Versionconst * | operator-> () const |
| operator Version * () |
| operator Versionconst * () const |
Version & | operator* () |
Versionconst & | operator* () const |
pkgCache * | Cache () const |
void | operator= (const VerIterator &B) |
bool | IsGood () const |
unsigned long | Index () const |
void | ReMap (void const *const oldMap, void const *const newMap) |
| Iterator (pkgCache &Owner, Version *T=0) |
Protected Member Functions |
Version * | OwnerPointer () 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.
|
Member Function Documentation
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< Version, VerIterator >.
compares two version and returns if they are similar
This method should be used to identify if two pseudo versions are refering to the same "real" version
References pkgCache::Version::Hash.
The documentation for this class was generated from the following files:
- /build/buildd/apt-0.9.6ubuntu3/apt-pkg/cacheiterators.h
- /build/buildd/apt-0.9.6ubuntu3/apt-pkg/pkgcache.cc