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::PrvIterator Class Reference

#include <cacheiterators.h>

Inheritance diagram for pkgCache::PrvIterator:
Collaboration diagram for pkgCache::PrvIterator:

Public Member Functions

 PrvIterator ()
 
 PrvIterator (pkgCache &Owner, Provides *Trg, Version *)
 
 PrvIterator (pkgCache &Owner, Provides *Trg, Package *)
 
pkgCacheCache () const
 
bool end () const
 
unsigned long Index () const
 
bool IsGood () const
 
bool IsMultiArchImplicit () const
 
const char * Name () const
 
 operator Provides * ()
 
 operator Providesconst * () const
 
bool operator!= (const PrvIterator &B) const
 
Providesoperator* ()
 
Providesconst & operator* () const
 
void operator++ (int)
 
void operator++ ()
 
Providesoperator-> ()
 
Providesconst * operator-> () const
 
bool operator== (const PrvIterator &B) const
 
PkgIterator OwnerPkg () const
 
VerIterator OwnerVer () const
 
PkgIterator ParentPkg () const
 
const char * ProvideVersion () const
 
void ReMap (void const *const oldMap, void const *const newMap)
 

Protected Member Functions

ProvidesOwnerPointer () 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
 
ProvidesS
 

Private Types

enum  {
  PrvVer,
  PrvPkg
}
 

Private Attributes

enum pkgCache::PrvIterator:: { ... }  Type
 

Member Enumeration Documentation

anonymous enum
private
Enumerator
PrvVer 
PrvPkg 

Constructor & Destructor Documentation

pkgCache::PrvIterator::PrvIterator ( )
inline
pkgCache::PrvIterator::PrvIterator ( pkgCache Owner,
Provides Trg,
Version  
)
inline
pkgCache::PrvIterator::PrvIterator ( pkgCache Owner,
Provides Trg,
Package  
)
inline

Member Function Documentation

pkgCache* pkgCache::Iterator< Provides , PrvIterator >::Cache ( ) const
inlineinherited
bool pkgCache::Iterator< Provides , PrvIterator >::end ( ) const
inlineinherited
unsigned long pkgCache::Iterator< Provides , PrvIterator >::Index ( ) const
inlineinherited

References pkgCache::Iterator< Str, Itr >::OwnerPointer(), and pkgCache::Iterator< Str, Itr >::S.

Here is the call graph for this function:

bool pkgCache::Iterator< Provides , PrvIterator >::IsGood ( ) const
inlineinherited
bool pkgCache::PrvIterator::IsMultiArchImplicit ( ) const
pkgCache::Iterator< Provides , PrvIterator >::operator Provides * ( )
inlineinherited
pkgCache::Iterator< Provides , PrvIterator >::operator Provides const * ( ) const
inlineinherited
bool pkgCache::Iterator< Provides , PrvIterator >::operator!= ( const PrvIterator< Provides, PrvIterator > &  B) const
inlineinherited
Provides & pkgCache::Iterator< Provides , PrvIterator >::operator* ( void  )
inlineinherited
Provides const& pkgCache::Iterator< Provides , PrvIterator >::operator* ( void  ) const
inlineinherited
void pkgCache::PrvIterator::operator++ ( )
inlinevirtual
Provides * pkgCache::Iterator< Provides , PrvIterator >::operator-> ( )
inlineinherited
Provides const* pkgCache::Iterator< Provides , PrvIterator >::operator-> ( ) const
inlineinherited
bool pkgCache::Iterator< Provides , PrvIterator >::operator== ( const PrvIterator< Provides, PrvIterator > &  B) const
inlineinherited
Provides* pkgCache::PrvIterator::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< Provides, PrvIterator >.

References pkgCache::Iterator< Provides, PrvIterator >::Owner, and pkgCache::ProvideP.

void pkgCache::Iterator< Provides , PrvIterator >::ReMap ( void const *const  oldMap,
void const *const  newMap 
)
inlineinherited

Member Data Documentation

enum { ... } pkgCache::PrvIterator::Type

Referenced by operator++().


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