#include <cacheiterators.h>
Public Member Functions | |
VerIterator (pkgCache &Owner, Version *Trg=0) | |
VerIterator () | |
const char * | Arch () const |
bool | Automatic () const |
pkgCache * | Cache () const |
int | CompareVer (const VerIterator &B) const |
DepIterator | DependsList () const |
DescIterator | DescriptionList () const |
bool | Downloadable () const |
bool | end () const |
VerFileIterator | FileList () const |
unsigned long | Index () const |
bool | IsGood () const |
VerFileIterator | NewestFile () const |
operator Version * () | |
operator Versionconst * () const | |
bool | operator!= (const VerIterator &B) const |
Version & | operator* () |
Versionconst & | operator* () const |
void | operator++ (int) |
void | operator++ () |
Version * | operator-> () |
Versionconst * | operator-> () const |
bool | operator== (const VerIterator &B) const |
PkgIterator | ParentPkg () const |
const char * | PriorityType () const |
PrvIterator | ProvidesList () const |
std::string | RelStr () const |
void | ReMap (void const *const oldMap, void const *const newMap) |
const char * | Section () const |
bool | SimilarVer (const VerIterator &B) const |
compares two version and returns if they are similar More... | |
DescIterator | TranslatedDescription () const |
const char * | VerStr () const |
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. More... | |
Protected Attributes | |
pkgCache * | Owner |
Version * | S |
References OwnerPointer(), and pkgCache::Iterator< Version, VerIterator >::S.
|
inline |
|
inline |
References pkgCache::Version::All, pkgCache::PkgIterator::Arch(), pkgCache::Version::MultiArch, pkgCache::Iterator< Version, VerIterator >::Owner, ParentPkg(), pkgCache::Version::ParentPkg, pkgCache::Iterator< Version, VerIterator >::S, and pkgCache::StrP.
Referenced by APT::VersionContainerInterface::const_iterator::Arch().
bool pkgCache::VerIterator::Automatic | ( | ) | const |
Referenced by APT::VersionContainerInterface::const_iterator::Automatic().
|
inlineinherited |
int pkgCache::VerIterator::CompareVer | ( | const VerIterator & | B | ) | const |
Referenced by APT::VersionContainerInterface::const_iterator::CompareVer().
|
inline |
Referenced by APT::VersionContainerInterface::const_iterator::DependsList().
|
inline |
Referenced by APT::VersionContainerInterface::const_iterator::DescriptionList().
bool pkgCache::VerIterator::Downloadable | ( | ) | const |
Referenced by APT::VersionContainerInterface::const_iterator::Downloadable().
|
inlineinherited |
|
inline |
Referenced by APT::VersionContainerInterface::const_iterator::FileList().
|
inlineinherited |
|
inlineinherited |
VerFileIterator pkgCache::VerIterator::NewestFile | ( | ) | const |
Referenced by APT::VersionContainerInterface::const_iterator::NewestFile().
|
inlineinherited |
References pkgCache::Iterator< Str, Itr >::OwnerPointer(), and pkgCache::Iterator< Str, Itr >::S.
|
inlineinherited |
References pkgCache::Iterator< Str, Itr >::OwnerPointer(), and pkgCache::Iterator< Str, Itr >::S.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
|
inlinevirtual |
Implements pkgCache::Iterator< Version, VerIterator >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
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.
Implements pkgCache::Iterator< Version, VerIterator >.
References pkgCache::Iterator< Version, VerIterator >::Owner, and pkgCache::VerP.
Referenced by VerIterator().
|
inline |
References pkgCache::Iterator< Version, VerIterator >::Owner, pkgCache::Version::ParentPkg, pkgCache::PkgP, and pkgCache::Iterator< Version, VerIterator >::S.
Referenced by Arch(), and APT::VersionContainerInterface::const_iterator::ParentPkg().
|
inline |
References pkgCache::Iterator< Version, VerIterator >::Owner, pkgCache::Priority(), pkgCache::Version::Priority, and pkgCache::Iterator< Version, VerIterator >::S.
Referenced by APT::VersionContainerInterface::const_iterator::PriorityType().
|
inline |
Referenced by APT::VersionContainerInterface::const_iterator::ProvidesList().
std::string pkgCache::VerIterator::RelStr | ( | ) | const |
Referenced by APT::VersionContainerInterface::const_iterator::RelStr().
|
inlineinherited |
|
inline |
References pkgCache::Iterator< Version, VerIterator >::Owner, pkgCache::Iterator< Version, VerIterator >::S, pkgCache::Version::Section, and pkgCache::StrP.
Referenced by APT::VersionContainerInterface::const_iterator::Section().
|
inline |
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::Iterator< Str, Itr >::end(), pkgCache::Version::Hash, pkgCache::Iterator< Version, VerIterator >::S, and VerStr().
DescIterator pkgCache::VerIterator::TranslatedDescription | ( | ) | const |
Referenced by APT::VersionContainerInterface::const_iterator::TranslatedDescription().
|
inline |
References pkgCache::Iterator< Version, VerIterator >::Owner, pkgCache::Iterator< Version, VerIterator >::S, pkgCache::StrP, and pkgCache::Version::VerStr.
Referenced by SimilarVer(), and APT::VersionContainerInterface::const_iterator::VerStr().
|
protectedinherited |
Referenced by Arch(), operator++(), OwnerPointer(), ParentPkg(), PriorityType(), Section(), and VerStr().
|
protectedinherited |
Referenced by Arch(), operator++(), ParentPkg(), PriorityType(), Section(), SimilarVer(), VerIterator(), and VerStr().