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

#include <cacheiterators.h>

Inheritance diagram for pkgCache::VerIterator:
Collaboration diagram for pkgCache::VerIterator:

Public Member Functions

 VerIterator (pkgCache &Owner, Version *Trg=0)
 
 VerIterator ()
 
const char * Arch () const
 
bool Automatic () const
 
pkgCacheCache () const
 
int CompareVer (const VerIterator &B) const
 
DepIterator DependsList () const
 
DescIterator DescriptionList () const
 
bool Downloadable () const
 
bool end () const
 
VerFileIterator FileList () const
 
unsigned long Index () const
 
bool IsGood () const
 
VerFileIterator NewestFile () const
 
 operator Version * ()
 
 operator Versionconst * () const
 
bool operator!= (const VerIterator &B) const
 
Versionoperator* ()
 
Versionconst & operator* () const
 
void operator++ (int)
 
void operator++ ()
 
Versionoperator-> ()
 
Versionconst * operator-> () const
 
bool operator== (const VerIterator &B) const
 
PkgIterator ParentPkg () const
 
const char * PriorityType () const
 
PrvIterator ProvidesList () const
 
std::string RelStr () const
 
void ReMap (void const *const oldMap, void const *const newMap)
 
const char * Section () const
 
bool SimilarVer (const VerIterator &B) const
 compares two version and returns if they are similar More...
 
DescIterator TranslatedDescription () const
 
const char * VerStr () const
 

Protected Member Functions

VersionOwnerPointer () 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
 
VersionS
 

Constructor & Destructor Documentation

pkgCache::VerIterator::VerIterator ( pkgCache Owner,
Version Trg = 0 
)
inline

References OwnerPointer(), and pkgCache::Iterator< Version, VerIterator >::S.

Here is the call graph for this function:

pkgCache::VerIterator::VerIterator ( )
inline

Member Function Documentation

const char* pkgCache::VerIterator::Arch ( ) const
inline
bool pkgCache::VerIterator::Automatic ( ) const

Referenced by APT::VersionContainerInterface::const_iterator::Automatic().

Here is the caller graph for this function:

pkgCache* pkgCache::Iterator< Version , VerIterator >::Cache ( ) const
inlineinherited
int pkgCache::VerIterator::CompareVer ( const VerIterator B) const

Referenced by APT::VersionContainerInterface::const_iterator::CompareVer().

Here is the caller graph for this function:

pkgCache::DepIterator pkgCache::VerIterator::DependsList ( ) const
inline

Referenced by APT::VersionContainerInterface::const_iterator::DependsList().

Here is the caller graph for this function:

pkgCache::DescIterator pkgCache::VerIterator::DescriptionList ( ) const
inline

Referenced by APT::VersionContainerInterface::const_iterator::DescriptionList().

Here is the caller graph for this function:

bool pkgCache::VerIterator::Downloadable ( ) const

Referenced by APT::VersionContainerInterface::const_iterator::Downloadable().

Here is the caller graph for this function:

bool pkgCache::Iterator< Version , VerIterator >::end ( ) const
inlineinherited
pkgCache::VerFileIterator pkgCache::VerIterator::FileList ( ) const
inline

Referenced by APT::VersionContainerInterface::const_iterator::FileList().

Here is the caller graph for this function:

unsigned long pkgCache::Iterator< Version , VerIterator >::Index ( ) const
inlineinherited
bool pkgCache::Iterator< Version , VerIterator >::IsGood ( ) const
inlineinherited
VerFileIterator pkgCache::VerIterator::NewestFile ( ) const

Referenced by APT::VersionContainerInterface::const_iterator::NewestFile().

Here is the caller graph for this function:

pkgCache::Iterator< Version , VerIterator >::operator Version * ( )
inlineinherited

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

Here is the call graph for this function:

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

References pkgCache::Iterator< Version, VerIterator >::Owner, and pkgCache::VerP.

Referenced by VerIterator().

Here is the caller graph for this function:

const char* pkgCache::VerIterator::PriorityType ( ) const
inline
pkgCache::PrvIterator pkgCache::VerIterator::ProvidesList ( ) const
inline

Referenced by APT::VersionContainerInterface::const_iterator::ProvidesList().

Here is the caller graph for this function:

std::string pkgCache::VerIterator::RelStr ( ) const

Referenced by APT::VersionContainerInterface::const_iterator::RelStr().

Here is the caller graph for this function:

void pkgCache::Iterator< Version , VerIterator >::ReMap ( void const *const  oldMap,
void const *const  newMap 
)
inlineinherited
const char* pkgCache::VerIterator::Section ( ) const
inline
bool pkgCache::VerIterator::SimilarVer ( const VerIterator B) const
inline

compares two version and returns if they are similar

This method should be used to identify if two pseudo versions are refering to the same "real" version

References pkgCache::Iterator< Str, Itr >::end(), pkgCache::Version::Hash, pkgCache::Iterator< Version, VerIterator >::S, and VerStr().

Here is the call graph for this function:

DescIterator pkgCache::VerIterator::TranslatedDescription ( ) const

Referenced by APT::VersionContainerInterface::const_iterator::TranslatedDescription().

Here is the caller graph for this function:

const char* pkgCache::VerIterator::VerStr ( ) const
inline

Member Data Documentation


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