apt  0.9.7.9
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
PackageContainerInterface Class Reference
Inheritance diagram for PackageContainerInterface:
PackageContainer< Container >

Classes

class  const_iterator
struct  Modifier

Public Types

enum  Constructor { UNKNOWN, REGEX, TASK }

Public Member Functions

virtual bool insert (pkgCache::PkgIterator const &P)=0
virtual bool empty () const =0
virtual void clear ()=0
virtual void setConstructor (Constructor const &con)=0
virtual Constructor getConstructor () const =0

Static Public Member Functions

static bool FromTask (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern, CacheSetHelper &helper)
static bool FromRegEx (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern, CacheSetHelper &helper)
static pkgCache::PkgIterator FromName (pkgCacheFile &Cache, std::string const &pattern, CacheSetHelper &helper)
static bool FromGroup (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string pattern, CacheSetHelper &helper)
static bool FromString (PackageContainerInterface *const pci, pkgCacheFile &Cache, std::string const &pattern, CacheSetHelper &helper)
static bool FromCommandLine (PackageContainerInterface *const pci, pkgCacheFile &Cache, const char **cmdline, CacheSetHelper &helper)
static bool FromModifierCommandLine (unsigned short &modID, PackageContainerInterface *const pci, pkgCacheFile &Cache, const char *cmdline, std::list< Modifier > const &mods, CacheSetHelper &helper)

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