apt  0.9.11.4
Public Member Functions | Protected Member Functions | Friends | List of all members
pkgCache::DepIterator Class Reference
Inheritance diagram for pkgCache::DepIterator:
pkgCache::Iterator< Dependency, DepIterator >

Public Member Functions

void operator++ (int)
 
void operator++ ()
 
const char * TargetVer () const
 
PkgIterator TargetPkg () const
 
PkgIterator SmartTargetPkg () const
 
VerIterator ParentVer () const
 
PkgIterator ParentPkg () const
 
bool Reverse () const
 
bool IsCritical () const
 
bool IsNegative () const
 
bool IsIgnorable (PrvIterator const &Prv) const
 
bool IsIgnorable (PkgIterator const &Pkg) const
 
bool IsMultiArchImplicit () const
 
bool IsSatisfied (VerIterator const &Ver) const
 
bool IsSatisfied (PrvIterator const &Prv) const
 
void GlobOr (DepIterator &Start, DepIterator &End)
 
Version ** AllTargets () const
 
bool SmartTargetPkg (PkgIterator &Result) const
 
const char * CompType () const
 
const char * DepType () const
 
 DepIterator (pkgCache &Owner, Dependency *Trg, Version *=0)
 
 DepIterator (pkgCache &Owner, Dependency *Trg, Package *)
 
- Public Member Functions inherited from pkgCache::Iterator< Dependency, DepIterator >
bool end () const
 
bool operator== (const DepIterator &B) const
 
bool operator!= (const DepIterator &B) const
 
Dependencyoperator-> ()
 
Dependencyconst * operator-> () const
 
 operator Dependency * ()
 
 operator Dependencyconst * () const
 
Dependencyoperator* ()
 
Dependencyconst & operator* () const
 
pkgCacheCache () const
 
void operator= (const DepIterator &B)
 
bool IsGood () const
 
unsigned long Index () const
 
void ReMap (void const *const oldMap, void const *const newMap)
 
 Iterator (pkgCache &Owner, Dependency *T=0)
 

Protected Member Functions

DependencyOwnerPointer () 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...
 

Friends

std::ostream & operator<< (std::ostream &out, DepIterator D)
 

Additional Inherited Members

- Protected Attributes inherited from pkgCache::Iterator< Dependency, DepIterator >
DependencyS
 
pkgCacheOwner
 

Member Function Documentation

Dependency* 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< Dependency, DepIterator >.


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