|
| GrpIterator (pkgCache &Owner) |
|
virtual void | operator++ (int) |
|
virtual void | operator++ () |
|
const char * | Name () const |
|
PkgIterator | PackageList () const |
|
PkgIterator | FindPkg (std::string Arch="any") const |
|
PkgIterator | FindPreferredPkg (bool const &PreferNonVirtual=true) const |
| find the package with the "best" architecture More...
|
|
PkgIterator | NextPkg (PkgIterator const &Pkg) const |
|
| GrpIterator (pkgCache &Owner, Group *Trg) |
|
bool | end () const |
|
bool | operator== (const GrpIterator &B) const |
|
bool | operator!= (const GrpIterator &B) const |
|
Group * | operator-> () |
|
Groupconst * | operator-> () const |
|
| operator Group * () |
|
| operator Groupconst * () const |
|
Group & | operator* () |
|
Groupconst & | operator* () const |
|
pkgCache * | Cache () const |
|
void | operator= (const GrpIterator &B) |
|
bool | IsGood () const |
|
unsigned long | Index () const |
|
void | ReMap (void const *const oldMap, void const *const newMap) |
|
| Iterator (pkgCache &Owner, Group *T=0) |
|
|
Group * | 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...
|
|
find the package with the "best" architecture
The best architecture is either the "native" or the first in the list of Architectures which is not an end-Pointer
- Parameters
-
PreferNonVirtual | tries to respond with a non-virtual package and only if this fails returns the best virtual package |
References Configuration::getArchitectures().
Group* 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< Group, GrpIterator >.
The documentation for this class was generated from the following files:
- /build/buildd/apt-0.9.7.7ubuntu6/apt-pkg/cacheiterators.h
- /build/buildd/apt-0.9.7.7ubuntu6/apt-pkg/pkgcache.cc