#include <cacheiterators.h>
Public Types | |
enum | OkState { NeedsNothing, NeedsUnpack, NeedsConfigure } |
Public Member Functions | |
PkgIterator (pkgCache &Owner) | |
PkgIterator (pkgCache &Owner, Package *Trg) | |
PkgIterator () | |
const char * | Arch () const |
pkgCache * | Cache () const |
const char * | CandVersion () const |
VerIterator | CurrentVer () const |
const char * | CurVersion () const |
bool | end () const |
std::string | FullName (bool const &Pretty=false) const |
GrpIterator | Group () const |
unsigned long | Index () const |
bool | IsGood () const |
const char * | Name () const |
operator Package * () | |
operator Packageconst * () const | |
bool | operator!= (const PkgIterator &B) const |
Package & | operator* () |
Packageconst & | operator* () const |
virtual void | operator++ (int) |
virtual void | operator++ () |
Package * | operator-> () |
Packageconst * | operator-> () const |
bool | operator== (const PkgIterator &B) const |
PrvIterator | ProvidesList () const |
bool | Purge () const |
void | ReMap (void const *const oldMap, void const *const newMap) |
DepIterator | RevDependsList () const |
const char * | Section () const |
OkState | State () const |
VerIterator | VersionList () const |
Protected Member Functions | |
Package * | 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 |
Package * | S |
Private Attributes | |
long | HashIndex |
Friends | |
std::ostream & | operator<< (std::ostream &out, PkgIterator i) |
|
inline |
References operator++(), OwnerPointer(), and pkgCache::Iterator< Package, PkgIterator >::S.
References OwnerPointer(), and pkgCache::Iterator< Package, PkgIterator >::S.
|
inline |
|
inline |
References pkgCache::Package::Arch, pkgCache::Iterator< Package, PkgIterator >::Owner, pkgCache::Iterator< Package, PkgIterator >::S, and pkgCache::StrP.
Referenced by APT::PackageContainerInterface::const_iterator::Arch(), and pkgCache::VerIterator::Arch().
|
inlineinherited |
const char* pkgCache::PkgIterator::CandVersion | ( | ) | const |
Referenced by APT::PackageContainerInterface::const_iterator::CandVersion().
|
inline |
Referenced by APT::PackageContainerInterface::const_iterator::CurrentVer().
const char* pkgCache::PkgIterator::CurVersion | ( | ) | const |
Referenced by APT::PackageContainerInterface::const_iterator::CurVersion().
|
inlineinherited |
std::string pkgCache::PkgIterator::FullName | ( | bool const & | Pretty = false | ) | const |
Referenced by APT::PackageContainerInterface::const_iterator::FullName().
|
inline |
References pkgCache::Package::Group, pkgCache::GrpP, pkgCache::Iterator< Package, PkgIterator >::Owner, and pkgCache::Iterator< Package, PkgIterator >::S.
Referenced by APT::PackageContainerInterface::const_iterator::Group().
|
inlineinherited |
|
inlineinherited |
|
inline |
References pkgCache::Package::Name, pkgCache::Iterator< Package, PkgIterator >::Owner, pkgCache::Iterator< Package, PkgIterator >::S, and pkgCache::StrP.
Referenced by pkgDepCache::DefaultRootSetFunc::InRootSet(), and APT::PackageContainerInterface::const_iterator::Name().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
virtual |
Implements pkgCache::Iterator< Package, PkgIterator >.
|
inlinevirtual |
Implements pkgCache::Iterator< Package, PkgIterator >.
Referenced by PkgIterator().
|
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< Package, PkgIterator >.
References pkgCache::Iterator< Package, PkgIterator >::Owner, and pkgCache::PkgP.
Referenced by PkgIterator().
|
inline |
Referenced by APT::PackageContainerInterface::const_iterator::ProvidesList().
|
inline |
References pkgCache::Package::CurrentState, pkgCache::Package::CurrentVer, pkgCache::State::NotInstalled, pkgCache::State::Purge, and pkgCache::Iterator< Package, PkgIterator >::S.
Referenced by APT::PackageContainerInterface::const_iterator::Purge().
|
inlineinherited |
|
inline |
Referenced by APT::PackageContainerInterface::const_iterator::RevDependsList().
|
inline |
References pkgCache::Iterator< Package, PkgIterator >::Owner, pkgCache::Iterator< Package, PkgIterator >::S, pkgCache::Package::Section, and pkgCache::StrP.
Referenced by APT::PackageContainerInterface::const_iterator::Section().
OkState pkgCache::PkgIterator::State | ( | ) | const |
Referenced by APT::PackageContainerInterface::const_iterator::State().
|
inline |
Referenced by APT::PackageContainerInterface::const_iterator::VersionList().
|
friend |
|
private |
|
protectedinherited |
Referenced by Arch(), Group(), Name(), OwnerPointer(), and Section().
|
protectedinherited |