#include <Environment.h>
Inheritance diagram for Debtags::Environment:
Public Member Functions | |
virtual const std::string & | path_vocabulary () const =0 throw () |
virtual bool | hasTagDatabase ()=0 throw () |
virtual const PackageSet & | packages () const =0 throw () |
virtual const MaintainerSet & | maintainers () const =0 throw () |
virtual const PackageDB & | packageDB () const =0 throw () |
virtual const TagDB & | tagDB () const =0 throw () |
virtual TagDB & | tagDB ()=0 throw () |
virtual Vocabulary & | vocabulary () const =0 throw () |
virtual Package | getPackage (const std::string &name) const =0 throw () |
virtual Maintainer | getMaintainer (const std::string &name) const =0 throw () |
virtual void | output (PackageConsumer &cons) const =0 throw () |
virtual void | output (PackageConsumer &cons, PackageMatcher &filter) const =0 throw () |
virtual void | outputRelated (PackageConsumer &cons, const Package &pivot, int distance=1) const =0 throw () |
virtual void | outputRelated (PackageConsumer &cons, const TagSet &ts, int distance=1) const =0 throw () |
virtual void | updateDebtagsDatabase ()=0 throw (ConsistencyCheckException) |
virtual void | updateDebtagsDatabase (pkgAcquireStatus *)=0 throw (ConsistencyCheckException) |
Static Public Member Functions | |
void | init (bool editable=false, bool facet_only=true) throw (SystemException, ConsistencyCheckException) |
Environment & | get () throw () |
Protected Member Functions | |
virtual void | fillPackageData (Debtags::Package &name) const =0 throw () |
Static Protected Attributes | |
Environment * | instance = 0 |
Friends | |
class | PackageImpl |
This avoids creating a TagDB object, which would store in memory the Debtags database associated to Package objects that are not used.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|