Deepsolver
|
The iterator over set of installed packages. More...
Public Member Functions | |
bool | moveNext (Pkg &pkg) |
Goes to next installed package and fills data associated with it. | |
void | openEnum () |
RpmInstalledPackagesIterator () | |
The default constructor. | |
virtual | ~RpmInstalledPackagesIterator () |
The destructor. |
This iterator reads the rpmdb database and provides information about each installed package. This class instance should not be created directly, use methods of AbstractPackageBackEnd class.
bool RpmInstalledPackagesIterator::moveNext | ( | Pkg & | pkg | ) | [virtual] |
After creation the iterator is pointed before the first element. Each invocation of this method changes position to next package if there is any and fills necessary data. If there is no next package (including the case there are no packages at all) this method returns zero.
[out] | pkg | The Pkg class instance to received data about next installed package |
Implements AbstractInstalledPackagesIterator.