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
APT::PackageContainer< Container >::iterator Class Reference

#include <cacheset.h>

Inheritance diagram for APT::PackageContainer< Container >::iterator:
Collaboration diagram for APT::PackageContainer< Container >::iterator:

Public Member Functions

 iterator (typename Container::iterator i)
 
const char * Arch () const
 
pkgCacheCache () const
 
const char * CandVersion () const
 
pkgCache::VerIterator CurrentVer () const
 
const char * CurVersion () const
 
bool end () const
 
std::string FullName (bool const Pretty) const
 
std::string FullName () const
 
pkgCache::PkgIterator getPkg (void) const
 
pkgCache::GrpIterator Group () const
 
unsigned long Index () const
 
const char * Name () const
 
 operator pkgCache::PkgIterator (void) const
 
 operator typename Container::iterator (void) const
 
 operator typename PackageContainer< Container >::const_iterator ()
 
bool operator!= (iterator const &i) const
 
pkgCache::PkgIterator operator* (void) const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
pkgCache::Package const * operator-> () const
 
iteratoroperator= (iterator const &i)
 
iteratoroperator= (typename Container::iterator const &i)
 
bool operator== (iterator const &i) const
 
pkgCache::PrvIterator ProvidesList () const
 
bool Purge () const
 
pkgCache::DepIterator RevDependsList () const
 
const char * Section () const
 
pkgCache::PkgIterator::OkState State () const
 
pkgCache::VerIterator VersionList () const
 

Private Attributes

Container::iterator _iter
 

Friends

std::ostream & operator<< (std::ostream &out, iterator i)
 

Constructor & Destructor Documentation

template<class Container>
APT::PackageContainer< Container >::iterator::iterator ( typename Container::iterator  i)
inline

Member Function Documentation

const char* APT::PackageContainerInterface::const_iterator::Arch ( ) const
inlineinherited

References pkgCache::PkgIterator::Arch(), and APT::PackageContainerInterface::const_iterator::getPkg().

Here is the call graph for this function:

pkgCache* APT::PackageContainerInterface::const_iterator::Cache ( ) const
inlineinherited
const char* APT::PackageContainerInterface::const_iterator::CandVersion ( ) const
inlineinherited

References pkgCache::PkgIterator::CandVersion(), and APT::PackageContainerInterface::const_iterator::getPkg().

Here is the call graph for this function:

pkgCache::VerIterator APT::PackageContainerInterface::const_iterator::CurrentVer ( ) const
inlineinherited

References pkgCache::PkgIterator::CurrentVer(), and APT::PackageContainerInterface::const_iterator::getPkg().

Here is the call graph for this function:

const char* APT::PackageContainerInterface::const_iterator::CurVersion ( ) const
inlineinherited

References pkgCache::PkgIterator::CurVersion(), and APT::PackageContainerInterface::const_iterator::getPkg().

Here is the call graph for this function:

bool APT::PackageContainerInterface::const_iterator::end ( ) const
inlineinherited
std::string APT::PackageContainerInterface::const_iterator::FullName ( bool const  Pretty) const
inlineinherited

References pkgCache::PkgIterator::FullName(), and APT::PackageContainerInterface::const_iterator::getPkg().

Here is the call graph for this function:

std::string APT::PackageContainerInterface::const_iterator::FullName ( ) const
inlineinherited

References pkgCache::PkgIterator::FullName(), and APT::PackageContainerInterface::const_iterator::getPkg().

Here is the call graph for this function:

template<class Container>
pkgCache::PkgIterator APT::PackageContainer< Container >::iterator::getPkg ( void  ) const
inlinevirtual
pkgCache::GrpIterator APT::PackageContainerInterface::const_iterator::Group ( ) const
inlineinherited

References APT::PackageContainerInterface::const_iterator::getPkg(), and pkgCache::PkgIterator::Group().

Here is the call graph for this function:

unsigned long APT::PackageContainerInterface::const_iterator::Index ( ) const
inlineinherited
const char* APT::PackageContainerInterface::const_iterator::Name ( ) const
inlineinherited

References APT::PackageContainerInterface::const_iterator::getPkg(), and pkgCache::PkgIterator::Name().

Here is the call graph for this function:

APT::PackageContainerInterface::const_iterator::operator pkgCache::PkgIterator ( void  ) const
inlineinherited

References APT::PackageContainerInterface::const_iterator::getPkg().

Here is the call graph for this function:

template<class Container>
APT::PackageContainer< Container >::iterator::operator typename Container::iterator ( void  ) const
inline
template<class Container>
APT::PackageContainer< Container >::iterator::operator typename PackageContainer< Container >::const_iterator ( )
inline
template<class Container>
bool APT::PackageContainer< Container >::iterator::operator!= ( iterator const &  i) const
inline
template<class Container>
pkgCache::PkgIterator APT::PackageContainer< Container >::iterator::operator* ( void  ) const
inline
template<class Container>
iterator& APT::PackageContainer< Container >::iterator::operator++ ( )
inline
template<class Container>
iterator APT::PackageContainer< Container >::iterator::operator++ ( int  )
inline

References APT::PackageContainer< Container >::iterator::operator++().

Referenced by APT::PackageContainer< Container >::iterator::operator++().

Here is the call graph for this function:

Here is the caller graph for this function:

pkgCache::Package const* APT::PackageContainerInterface::const_iterator::operator-> ( ) const
inlineinherited

References APT::PackageContainerInterface::const_iterator::getPkg().

Here is the call graph for this function:

template<class Container>
iterator& APT::PackageContainer< Container >::iterator::operator= ( iterator const &  i)
inline
template<class Container>
iterator& APT::PackageContainer< Container >::iterator::operator= ( typename Container::iterator const &  i)
inline
template<class Container>
bool APT::PackageContainer< Container >::iterator::operator== ( iterator const &  i) const
inline
pkgCache::PrvIterator APT::PackageContainerInterface::const_iterator::ProvidesList ( ) const
inlineinherited

References APT::PackageContainerInterface::const_iterator::getPkg(), and pkgCache::PkgIterator::ProvidesList().

Here is the call graph for this function:

bool APT::PackageContainerInterface::const_iterator::Purge ( ) const
inlineinherited

References APT::PackageContainerInterface::const_iterator::getPkg(), and pkgCache::PkgIterator::Purge().

Here is the call graph for this function:

pkgCache::DepIterator APT::PackageContainerInterface::const_iterator::RevDependsList ( ) const
inlineinherited
const char* APT::PackageContainerInterface::const_iterator::Section ( ) const
inlineinherited

References APT::PackageContainerInterface::const_iterator::getPkg(), and pkgCache::PkgIterator::Section().

Here is the call graph for this function:

pkgCache::PkgIterator::OkState APT::PackageContainerInterface::const_iterator::State ( ) const
inlineinherited

References APT::PackageContainerInterface::const_iterator::getPkg(), and pkgCache::PkgIterator::State().

Here is the call graph for this function:

pkgCache::VerIterator APT::PackageContainerInterface::const_iterator::VersionList ( ) const
inlineinherited

References APT::PackageContainerInterface::const_iterator::getPkg(), and pkgCache::PkgIterator::VersionList().

Here is the call graph for this function:

Friends And Related Function Documentation

template<class Container>
std::ostream& operator<< ( std::ostream &  out,
iterator  i 
)
friend

Member Data Documentation


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