apt  2.2.4
About: Apt (Advanced Package Tool) is a management system for software packages (Debian/Ubuntu). Release series 2.2.
  Fossies Dox: apt-2.2.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

cacheset.h File Reference
#include <fstream>
#include <map>
#include <set>
#include <algorithm>
#include <deque>
#include <iterator>
#include <list>
#include <string>
#include <vector>
#include <stddef.h>
#include <apt-pkg/error.h>
#include <apt-pkg/macros.h>
#include <apt-pkg/pkgcache.h>
Include dependency graph for cacheset.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  CacheSetHelper
struct  CacheSetHelper::PkgModifier
class  Container_iterator_base< Interface, Master, iterator_type, container_iterator, container_value >
class  Container_const_iterator< Interface, Container, Master >
class  Container_iterator< Interface, Container, Master >
class  Container_const_reverse_iterator< Interface, Container, Master >
class  Container_reverse_iterator< Interface, Container, Master >
class  PackageContainerInterface
class  PackageContainerInterface::iterator_base< Itr >
class  PackageContainer< Container >
class  PackageUniverse
class  PackageUniverse::const_iterator
class  VersionContainerInterface
class  VersionContainerInterface::iterator_base< Itr >
 smell like a pkgCache::VerIterator More...
struct  VersionContainerInterface::Modifier
class  VersionContainer< Container >


namespace  APT


typedef PackageContainer< std::set< pkgCache::PkgIterator > > PackageSet
typedef PackageContainer< std::list< pkgCache::PkgIterator > > PackageList
typedef PackageContainer< std::deque< pkgCache::PkgIterator > > PackageDeque
using PackageVector = PackageContainer< std::vector< pkgCache::PkgIterator > >
typedef VersionContainer< std::set< pkgCache::VerIterator > > VersionSet
typedef VersionContainer< std::list< pkgCache::VerIterator > > VersionList
typedef VersionContainer< std::deque< pkgCache::VerIterator > > VersionDeque
typedef VersionContainer< std::vector< pkgCache::VerIterator > > VersionVector

Detailed Description

Wrappers around std::set to have set::iterators which behave similar to the Iterators of the cache structures.

Provides also a few helper methods which work with these sets

Definition in file cacheset.h.