|
libzypp 17.37.9
|
Wrapper providing a librpmDb::db_const_iterator for this RpmDb. More...
#include <zypp/target/rpm/RpmDb.h>
Private Member Functions | |
| db_const_iterator () | |
| db_const_iterator (const Pathname &root_r, const Pathname &dbPath_r) | |
Friends | |
| class | RpmDb |
Additional Inherited Members | |
| Public Member Functions inherited from zypp::target::rpm::librpmDb::db_const_iterator | |
| db_const_iterator () ZYPP_DEPRECATED | |
| Open the default rpmdb below the host system (at /). | |
| db_const_iterator (const Pathname &root_r) | |
| Open the default rpmdb below the system at root_r. | |
| db_const_iterator (const Pathname &root_r, const Pathname &dbPath_r) | |
| Open a specific rpmdb below the system at root_r. | |
| db_const_iterator (std::nullptr_t) | |
| A null iterator. | |
| ~db_const_iterator () | |
| Destructor. | |
| bool | hasDB () const |
| Whether an underlying rpmdb exists. | |
| void | operator++ () |
| Advance to next RpmHeader::constPtr. | |
| unsigned | dbHdrNum () const |
| Returns the current headers index in database, 0 if no header. | |
| const RpmHeader::constPtr & | operator* () const |
| Returns the current RpmHeader::constPtr or NULL, if no more entries available. | |
| const RpmHeader::constPtr & | operator-> () const |
| Forwards to the current RpmHeader::constPtr. | |
| bool | findAll () |
| Reset to iterate all packages. | |
| bool | findByFile (const std::string &file_r) |
| Reset to iterate all packages that own a certain file. | |
| bool | findByProvides (const std::string &tag_r) |
| Reset to iterate all packages that provide a certain tag. | |
| bool | findByRequiredBy (const std::string &tag_r) |
| Reset to iterate all packages that require a certain tag. | |
| bool | findByConflicts (const std::string &tag_r) |
| Reset to iterate all packages that conflict with a certain tag. | |
| bool | findByName (const std::string &name_r) |
| Reset to iterate all packages with a certain name. | |
| bool | findPackage (const std::string &name_r) |
| Find package by name. | |
| bool | findPackage (const std::string &name_r, const Edition &ed_r) |
| Find package by name and edition. | |
| bool | findPackage (const Package::constPtr &which_r) |
| Abbr. | |
| Related Symbols inherited from zypp::target::rpm::librpmDb::db_const_iterator | |
| std::ostream & | operator<< (std::ostream &str, const librpmDb::db_const_iterator &obj) ZYPP_API |
| stream output | |
Wrapper providing a librpmDb::db_const_iterator for this RpmDb.
Provide a properly initialized iterator while RpmDb is initialized. Otherwise a null iterator.
|
inlineprivate |