Public Member Functions | |
D (librpmDb::constPtr dbptr_r) | |
~D () | |
bool | create (int rpmtag, const void *keyp=NULL, size_t keylen=0) |
Let iterator access a dbindex file. | |
bool | destroy () |
Destroy iterator. | |
bool | advance () |
Advance to the first/next header in iterator. | |
bool | init (int rpmtag, const void *keyp=NULL, size_t keylen=0) |
Access a dbindex file and advance to the 1st header. | |
bool | set (int off_r) |
Create an itertator that contains the database entry located at off_r, and advance to the 1st header. | |
unsigned | offset () |
int | size () |
Public Attributes | |
librpmDb::constPtr | _dbptr |
shared_ptr< RpmException > | _dberr |
RpmHeader::constPtr | _hptr |
rpmdbMatchIterator | _mi |
Private Member Functions | |
D & | operator= (const D &) |
D (const D &) |
Definition at line 527 of file librpmDb.cc.
|
|
|
Definition at line 538 of file librpmDb.cc. References _dberr, _dbptr, zypp::target::rpm::librpmDb::dbAccess(), destroy(), WAR, and ZYPP_CAUGHT. |
|
Definition at line 558 of file librpmDb.cc. References _mi. |
|
|
|
Let iterator access a dbindex file. Call advance to access the 1st element (if present). Definition at line 568 of file librpmDb.cc. |
|
Destroy iterator. Invalidates _dbptr, if database was blocked meanwile. Always returns false. Definition at line 580 of file librpmDb.cc. References _dberr, _dbptr, _hptr, _mi, and WAR. Referenced by create(), D(), and zypp::target::rpm::librpmDb::db_const_iterator::findPackage(). |
|
Advance to the first/next header in iterator. Destroys iterator if no more headers available. Definition at line 597 of file librpmDb.cc. Referenced by zypp::target::rpm::librpmDb::db_const_iterator::operator++(). |
|
Access a dbindex file and advance to the 1st header.
Definition at line 612 of file librpmDb.cc. Referenced by zypp::target::rpm::librpmDb::db_const_iterator::findAll(), zypp::target::rpm::librpmDb::db_const_iterator::findByConflicts(), zypp::target::rpm::librpmDb::db_const_iterator::findByFile(), zypp::target::rpm::librpmDb::db_const_iterator::findByProvides(), zypp::target::rpm::librpmDb::db_const_iterator::findByRequiredBy(), and zypp::target::rpm::librpmDb::db_const_iterator::findPackage(). |
|
Create an itertator that contains the database entry located at off_r, and advance to the 1st header.
Definition at line 622 of file librpmDb.cc. Referenced by zypp::target::rpm::librpmDb::db_const_iterator::findPackage(). |
|
Definition at line 630 of file librpmDb.cc. Referenced by zypp::target::rpm::librpmDb::db_const_iterator::dbHdrNum(), and zypp::target::rpm::librpmDb::db_const_iterator::findPackage(). |
|
Definition at line 634 of file librpmDb.cc. |
|
Definition at line 532 of file librpmDb.cc. Referenced by create(), D(), zypp::target::rpm::librpmDb::db_const_iterator::dbError(), and destroy(). |
|
Definition at line 533 of file librpmDb.cc. Referenced by D(), zypp::target::rpm::librpmDb::db_const_iterator::dbError(), and destroy(). |
|
Definition at line 535 of file librpmDb.cc. Referenced by destroy(), and zypp::target::rpm::librpmDb::db_const_iterator::operator *(). |
|
Definition at line 536 of file librpmDb.cc. |