#include <cacheiterators.h>
Public Member Functions | |
DepIterator (pkgCache &Owner, Dependency *Trg, Version *=0) | |
DepIterator (pkgCache &Owner, Dependency *Trg, Package *) | |
DepIterator () | |
Version ** | AllTargets () const |
pkgCache * | Cache () const |
const char * | CompType () const |
const char * | DepType () const |
bool | end () const |
void | GlobOr (DepIterator &Start, DepIterator &End) |
unsigned long | Index () const |
bool | IsCritical () const |
bool | IsGood () const |
bool | IsIgnorable (PrvIterator const &Prv) const |
bool | IsIgnorable (PkgIterator const &Pkg) const |
bool | IsMultiArchImplicit () const |
bool | IsNegative () const |
operator Dependency * () | |
operator Dependencyconst * () const | |
bool | operator!= (const DepIterator &B) const |
Dependency & | operator* () |
Dependencyconst & | operator* () const |
void | operator++ (int) |
void | operator++ () |
Dependency * | operator-> () |
Dependencyconst * | operator-> () const |
bool | operator== (const DepIterator &B) const |
PkgIterator | ParentPkg () const |
VerIterator | ParentVer () const |
void | ReMap (void const *const oldMap, void const *const newMap) |
bool | Reverse () const |
PkgIterator | SmartTargetPkg () const |
bool | SmartTargetPkg (PkgIterator &Result) const |
PkgIterator | TargetPkg () const |
const char * | TargetVer () const |
Protected Member Functions | |
Dependency * | 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 |
Dependency * | S |
Private Types | |
enum | { DepVer, DepRev } |
Private Attributes | |
enum pkgCache::DepIterator:: { ... } | Type |
Friends | |
std::ostream & | operator<< (std::ostream &out, DepIterator D) |
|
inline |
References pkgCache::DepP, and pkgCache::Iterator< Dependency, DepIterator >::S.
|
inline |
References pkgCache::DepP, and pkgCache::Iterator< Dependency, DepIterator >::S.
|
inline |
Version** pkgCache::DepIterator::AllTargets | ( | ) | const |
|
inlineinherited |
|
inline |
References pkgCache::Dependency::CompareOp, pkgCache::CompType(), pkgCache::Iterator< Dependency, DepIterator >::Owner, and pkgCache::Iterator< Dependency, DepIterator >::S.
|
inline |
References pkgCache::DepType(), pkgCache::Iterator< Dependency, DepIterator >::Owner, pkgCache::Iterator< Dependency, DepIterator >::S, and pkgCache::Dependency::Type.
|
inlineinherited |
void pkgCache::DepIterator::GlobOr | ( | DepIterator & | Start, |
DepIterator & | End | ||
) |
|
inlineinherited |
bool pkgCache::DepIterator::IsCritical | ( | ) | const |
|
inlineinherited |
bool pkgCache::DepIterator::IsIgnorable | ( | PrvIterator const & | Prv | ) | const |
bool pkgCache::DepIterator::IsIgnorable | ( | PkgIterator const & | Pkg | ) | const |
bool pkgCache::DepIterator::IsMultiArchImplicit | ( | ) | const |
bool pkgCache::DepIterator::IsNegative | ( | ) | const |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
|
inlinevirtual |
Implements pkgCache::Iterator< Dependency, DepIterator >.
|
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< Dependency, DepIterator >.
References pkgCache::DepP, and pkgCache::Iterator< Dependency, DepIterator >::Owner.
|
inline |
|
inline |
|
inlineinherited |
|
inline |
References pkgCache::Iterator< Dependency, DepIterator >::Owner, and SmartTargetPkg().
Referenced by SmartTargetPkg().
bool pkgCache::DepIterator::SmartTargetPkg | ( | PkgIterator & | Result | ) | const |
|
inline |
|
inline |
|
friend |
|
protectedinherited |
Referenced by CompType(), DepType(), operator++(), OwnerPointer(), ParentPkg(), ParentVer(), SmartTargetPkg(), TargetPkg(), and TargetVer().
|
protectedinherited |
Referenced by CompType(), DepIterator(), DepType(), operator++(), ParentPkg(), ParentVer(), TargetPkg(), and TargetVer().
enum { ... } pkgCache::DepIterator::Type |
Referenced by operator++(), and Reverse().