apt @VERSION@
Public Member Functions | Protected Member Functions | Friends

pkgCache::DepIterator Class Reference

Inheritance diagram for pkgCache::DepIterator:
pkgCache::Iterator< Dependency, DepIterator > iterator

List of all members.

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
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 *)

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.

Friends

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

Member Function Documentation

Dependency* OwnerPointer ( ) const [inline, protected, virtual]

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: