libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pkgCache::DescIterator Class Reference

#include <cacheiterators.h>

Inheritance diagram for pkgCache::DescIterator:
Collaboration diagram for pkgCache::DescIterator:

Public Member Functions

 DescIterator ()
 
 DescIterator (pkgCache &Owner, Description *Trg=0)
 
pkgCacheCache () const
 
int CompareDesc (const DescIterator &B) const
 
bool end () const
 
DescFileIterator FileList () const
 
unsigned long Index () const
 
bool IsGood () const
 
const char * LanguageCode () const
 
const char * md5 () const
 
 operator Description * ()
 
 operator Descriptionconst * () const
 
bool operator!= (const DescIterator &B) const
 
Descriptionoperator* ()
 
Descriptionconst & operator* () const
 
void operator++ (int)
 
void operator++ ()
 
Descriptionoperator-> ()
 
Descriptionconst * operator-> () const
 
bool operator== (const DescIterator &B) const
 
void ReMap (void const *const oldMap, void const *const newMap)
 

Protected Member Functions

DescriptionOwnerPointer () const
 Returns the Pointer for this struct in the owner The implementation of this method should be pretty short as it will only return the Pointer into the mmap stored in the owner but the name of this pointer is different for each stucture and we want to abstract here at least for the basic methods from the actual structure. More...
 

Protected Attributes

pkgCacheOwner
 
DescriptionS
 

Constructor & Destructor Documentation

pkgCache::DescIterator::DescIterator ( )
inline
pkgCache::DescIterator::DescIterator ( pkgCache Owner,
Description Trg = 0 
)
inline

Member Function Documentation

pkgCache* pkgCache::Iterator< Description , DescIterator >::Cache ( ) const
inlineinherited
int pkgCache::DescIterator::CompareDesc ( const DescIterator B) const
bool pkgCache::Iterator< Description , DescIterator >::end ( ) const
inlineinherited
pkgCache::DescFileIterator pkgCache::DescIterator::FileList ( ) const
inline
unsigned long pkgCache::Iterator< Description , DescIterator >::Index ( ) const
inlineinherited
bool pkgCache::Iterator< Description , DescIterator >::IsGood ( ) const
inlineinherited
pkgCache::Iterator< Description , DescIterator >::operator Description * ( )
inlineinherited
pkgCache::Iterator< Description , DescIterator >::operator Description const * ( ) const
inlineinherited
bool pkgCache::Iterator< Description , DescIterator >::operator!= ( const DescIterator< Description, DescIterator > &  B) const
inlineinherited
Description & pkgCache::Iterator< Description , DescIterator >::operator* ( void  )
inlineinherited
Description const& pkgCache::Iterator< Description , DescIterator >::operator* ( void  ) const
inlineinherited
void pkgCache::DescIterator::operator++ ( )
inlinevirtual
Description * pkgCache::Iterator< Description , DescIterator >::operator-> ( )
inlineinherited
Description const* pkgCache::Iterator< Description , DescIterator >::operator-> ( ) const
inlineinherited
bool pkgCache::Iterator< Description , DescIterator >::operator== ( const DescIterator< Description, DescIterator > &  B) const
inlineinherited
Description* pkgCache::DescIterator::OwnerPointer ( ) const
inlineprotectedvirtual

Returns the Pointer for this struct in the owner The implementation of this method should be pretty short as it will only return the Pointer into the mmap stored in the owner but the name of this pointer is different for each stucture and we want to abstract here at least for the basic methods from the actual structure.

Returns
Pointer to the first structure of this type

Implements pkgCache::Iterator< Description, DescIterator >.

References pkgCache::DescP, and pkgCache::Iterator< Description, DescIterator >::Owner.

void pkgCache::Iterator< Description , DescIterator >::ReMap ( void const *const  oldMap,
void const *const  newMap 
)
inlineinherited

Member Data Documentation

pkgCache* pkgCache::Iterator< Description , DescIterator >::Owner
protectedinherited

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