libzypp  17.36.7
librpmDb::db_const_iterator Class Reference

Subclass to retrieve rpm database content. More...

#include <zypp/target/rpm/librpmDb.h>

Inheritance diagram for librpmDb::db_const_iterator:

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const librpmDb::db_const_iterator &obj) ZYPP_API
 

Detailed Description

Subclass to retrieve rpm database content.

If the specified rpm database was opened successfully, the iterator is initialized to findAll. Otherwise the iterator is an empty null iterator.

Note
The iterator will never create a not existing database.
The iterator keeps the rpm database open as a reader, so do not store it for longer than necessary as it may prevent write operations.

Friends And Related Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  str,
const librpmDb::db_const_iterator obj 
)
related

stream output

Definition at line 412 of file librpmDb.cc.


The documentation for this class was generated from the following file: