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) |
bool | end () const |
bool | operator== (const PkgIterator &B) const |
bool | operator!= (const PkgIterator &B) const |
Package * | operator-> () |
Packageconst * | operator-> () const |
| operator Package * () |
| operator Packageconst * () const |
Package & | operator* () |
Packageconst & | operator* () const |
pkgCache * | Cache () const |
void | operator= (const PkgIterator &B) |
bool | IsGood () const |
unsigned long | Index () const |
void | ReMap (void const *const oldMap, void const *const newMap) |
| Iterator (pkgCache &Owner, Package *T=0) |
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.
|
Friends |
std::ostream & | operator<< (std::ostream &out, PkgIterator i) |
Member Function Documentation
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:
- /build/buildd/apt-0.9.7.1ubuntu1/apt-pkg/cacheiterators.h
- /build/buildd/apt-0.9.7.1ubuntu1/apt-pkg/pkgcache.cc