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

pkgCache::PkgIterator Class Reference

Inheritance diagram for pkgCache::PkgIterator:
pkgCache::Iterator< Package, PkgIterator > iterator

List of all members.

Public Types

enum  OkState { NeedsNothing, NeedsUnpack, NeedsConfigure }

Public Member Functions

 PkgIterator (pkgCache &Owner)
virtual void operator++ (int)
virtual void operator++ ()
const char * Name () const
const char * Section () const
bool Purge () const
const char * Arch () const
GrpIterator Group () const
VerIterator VersionList () const
VerIterator CurrentVer () const
DepIterator RevDependsList () const
PrvIterator ProvidesList () const
OkState State () const
const char * CandVersion () const
const char * CurVersion () const
std::string FullName (bool const &Pretty=false) const
 PkgIterator (pkgCache &Owner, Package *Trg)

Protected Member Functions

PackageOwnerPointer () 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, PkgIterator i)

Member Function Documentation

Package* 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< Package, PkgIterator >.


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