Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

librpmDb::db_const_iterator::D Class Reference

List of all members.

Public Member Functions

 D (constlibrpmDbPtr dbptr_r)
 ~D ()
bool create (int rpmtag, const void *keyp=NULL, size_t keylen=0)
bool destroy ()
bool advance ()
bool init (int rpmtag, const void *keyp=NULL, size_t keylen=0)
bool set (int off_r)
unsigned offset ()
int size ()

Public Attributes

constlibrpmDbPtr _dbptr
PMError _dberr
constRpmHeaderPtr _hptr
rpmdbMatchIterator _mi

Private Member Functions

Doperator= (const D &)
 D (const D &)

Constructor & Destructor Documentation

librpmDb::db_const_iterator::D::D const D  )  [private]
 

librpmDb::db_const_iterator::D::D constlibrpmDbPtr  dbptr_r  )  [inline]
 

librpmDb::db_const_iterator::D::~D  )  [inline]
 


Member Function Documentation

bool librpmDb::db_const_iterator::D::advance  )  [inline]
 

Advance to the first/next header in iterator. Destroys iterator if no more headers available.

bool librpmDb::db_const_iterator::D::create int  rpmtag,
const void *  keyp = NULL,
size_t  keylen = 0
[inline]
 

Let iterator access a dbindex file. Call advance to access the 1st element (if present).

bool librpmDb::db_const_iterator::D::destroy  )  [inline]
 

Destroy iterator. Invalidates _dbptr, if database was blocked meanwile. Always returns false.

bool librpmDb::db_const_iterator::D::init int  rpmtag,
const void *  keyp = NULL,
size_t  keylen = 0
[inline]
 

Access a dbindex file and advance to the 1st header.

unsigned librpmDb::db_const_iterator::D::offset  )  [inline]
 

D& librpmDb::db_const_iterator::D::operator= const D  )  [private]
 

bool librpmDb::db_const_iterator::D::set int  off_r  )  [inline]
 

Create an itertator that contains the database entry located at off_r, and advance to the 1st header.

int librpmDb::db_const_iterator::D::size  )  [inline]
 


Member Data Documentation

PMError librpmDb::db_const_iterator::D::_dberr
 

constlibrpmDbPtr librpmDb::db_const_iterator::D::_dbptr
 

constRpmHeaderPtr librpmDb::db_const_iterator::D::_hptr
 

rpmdbMatchIterator librpmDb::db_const_iterator::D::_mi
 


The documentation for this class was generated from the following file:
Generated on Fri Nov 9 14:30:32 2007 for yast2-packagemanager by doxygen 1.3.6