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
cacheset.h File Reference

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

#include <iostream>
#include <fstream>
#include <list>
#include <map>
#include <set>
#include <string>
#include <iterator>
#include <apt-pkg/error.h>
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/cachefile.h>
Include dependency graph for cacheset.h:
This graph shows which files directly or indirectly include this file:

Classes

class  APT::CacheSetHelper
 Simple base class with a lot of virtual methods which can be overridden to alter the behavior or the output of the CacheSets. More...
 
class  APT::PackageContainer< Container >
 Simple wrapper around a container class like std::set to provide a similar interface to a set of packages as to the complete set of all packages in the pkgCache. More...
 
class  APT::PackageContainer< Container >::const_iterator
 smell like a pkgCache::PkgIterator More...
 
class  APT::PackageContainer< Container >::iterator
 
class  APT::PackageContainerInterface
 
class  APT::PackageContainerInterface::const_iterator
 
struct  APT::PackageContainerInterface::Modifier
 
class  APT::VersionContainer< Container >
 Simple wrapper around a container class like std::set to provide a similar interface to a set of versions as to the complete set of all versions in the pkgCache. More...
 
class  APT::VersionContainer< Container >::const_iterator
 smell like a pkgCache::VerIterator More...
 
class  APT::VersionContainer< Container >::iterator
 
class  APT::VersionContainerInterface
 Same as APT::PackageContainerInterface, just for Versions. More...
 
class  APT::VersionContainerInterface::const_iterator
 smell like a pkgCache::VerIterator More...
 
struct  APT::VersionContainerInterface::Modifier
 

Namespaces

namespace  APT
 

Typedefs

typedef PackageContainer
< std::list
< pkgCache::PkgIterator > > 
APT::PackageList
 
typedef PackageContainer
< std::set
< pkgCache::PkgIterator > > 
APT::PackageSet
 
typedef VersionContainer
< std::list
< pkgCache::VerIterator > > 
APT::VersionList
 
typedef VersionContainer
< std::set
< pkgCache::VerIterator > > 
APT::VersionSet
 

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