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::PackageContainerInterface Class Referenceabstract

#include <cacheset.h>

Inheritance diagram for APT::PackageContainerInterface:

Classes

class  const_iterator
 
struct  Modifier
 

Public Types

enum  Constructor {
  UNKNOWN,
  REGEX,
  TASK
}
 

Public Member Functions

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

Static Public Member Functions

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

Member Enumeration Documentation

Enumerator
UNKNOWN 
REGEX 
TASK 

Member Function Documentation

virtual void APT::PackageContainerInterface::clear ( )
pure virtual
virtual bool APT::PackageContainerInterface::empty ( ) const
pure virtual
static bool APT::PackageContainerInterface::FromCommandLine ( PackageContainerInterface *const  pci,
pkgCacheFile Cache,
const char **  cmdline,
CacheSetHelper helper 
)
static

Referenced by APT::PackageContainer< Container >::FromCommandLine().

Here is the caller graph for this function:

static bool APT::PackageContainerInterface::FromGroup ( PackageContainerInterface *const  pci,
pkgCacheFile Cache,
std::string  pattern,
CacheSetHelper helper 
)
static
static bool APT::PackageContainerInterface::FromModifierCommandLine ( unsigned short &  modID,
PackageContainerInterface *const  pci,
pkgCacheFile Cache,
const char *  cmdline,
std::list< Modifier > const &  mods,
CacheSetHelper helper 
)
static

Referenced by APT::PackageContainer< Container >::GroupedFromCommandLine().

Here is the caller graph for this function:

static pkgCache::PkgIterator APT::PackageContainerInterface::FromName ( pkgCacheFile Cache,
std::string const &  pattern,
CacheSetHelper helper 
)
static

Referenced by APT::PackageContainer< Container >::FromName().

Here is the caller graph for this function:

static bool APT::PackageContainerInterface::FromRegEx ( PackageContainerInterface *const  pci,
pkgCacheFile Cache,
std::string  pattern,
CacheSetHelper helper 
)
static

Referenced by APT::PackageContainer< Container >::FromRegEx().

Here is the caller graph for this function:

static bool APT::PackageContainerInterface::FromString ( PackageContainerInterface *const  pci,
pkgCacheFile Cache,
std::string const &  pattern,
CacheSetHelper helper 
)
static

Referenced by APT::PackageContainer< Container >::FromString().

Here is the caller graph for this function:

static bool APT::PackageContainerInterface::FromTask ( PackageContainerInterface *const  pci,
pkgCacheFile Cache,
std::string  pattern,
CacheSetHelper helper 
)
static

Referenced by APT::PackageContainer< Container >::FromTask().

Here is the caller graph for this function:

virtual Constructor APT::PackageContainerInterface::getConstructor ( ) const
pure virtual
virtual bool APT::PackageContainerInterface::insert ( pkgCache::PkgIterator const &  P)
pure virtual
virtual void APT::PackageContainerInterface::setConstructor ( Constructor const &  con)
pure virtual

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