#include <Backend.h>
Inheritance diagram for zypp::storage::Backend:

Public Member Functions | |
| Backend (const Pathname &root) | |
| root is the system root path | |
| virtual | ~Backend () |
| Dtor. | |
| virtual void | doTest ()=0 |
| virtual bool | isBackendInitialized () const =0 |
| is the storage backend initialized | |
| virtual void | initBackend ()=0 |
| initialize the storage backend | |
| virtual void | storeObject (ResObject::constPtr resolvable)=0 |
| Stores a Resolvable in the active backend. | |
| virtual void | deleteObject (ResObject::constPtr resolvable)=0 |
| Deletes a Resolvable from the active backend. | |
| virtual std::list< ResObject::Ptr > | storedObjects () const =0 |
| Query for installed Resolvables. | |
| virtual std::list< ResObject::Ptr > | storedObjects (const Resolvable::Kind) const =0 |
| Query for installed Resolvables of a certain kind. | |
| virtual std::list< ResObject::Ptr > | storedObjects (const Resolvable::Kind, const std::string &name, bool partial_match=false) const =0 |
| Query for installed Resolvables of a certain kind by name partial_match allows for text search. | |
| virtual void | setObjectFlag (ResObject::constPtr resolvable, const std::string &flag)=0 |
| virtual void | removeObjectFlag (ResObject::constPtr resolvable, const std::string &flag)=0 |
| virtual std::set< std::string > | objectFlags (ResObject::constPtr resolvable) const =0 |
| virtual bool | doesObjectHasFlag (ResObject::constPtr resolvable, const std::string &flag) const =0 |
| virtual void | setFlag (const std::string &key, const std::string &flag)=0 |
| virtual void | removeFlag (const std::string &key, const std::string &flag)=0 |
| virtual std::set< std::string > | flags (const std::string &key) const =0 |
| virtual bool | hasFlag (const std::string &key, const std::string &flag) const =0 |
| virtual std::list< PersistentStorage::SourceData > | storedSources () const =0 |
| Query for installed Sources. | |
| virtual void | storeSource (const PersistentStorage::SourceData &data)=0 |
| Query for installed Sources. | |
| virtual void | deleteSource (const std::string &alias)=0 |
| Query for installed Sources. | |
Private Attributes | |
| Private * | d |
Friends | |
| std::ostream & | operator<< (std::ostream &str, const Backend &obj) |
Classes | |
| class | Private |
Definition at line 37 of file Backend.h.
|
|
root is the system root path
Definition at line 46 of file Backend.cc. |
|
|
Dtor.
Definition at line 54 of file Backend.cc. |
|
|
Implemented in zypp::storage::XMLFilesBackend. |
|
|
is the storage backend initialized
Implemented in zypp::storage::XMLFilesBackend. |
|
|
initialize the storage backend
Implemented in zypp::storage::XMLFilesBackend. |
|
|
Stores a Resolvable in the active backend.
Implemented in zypp::storage::XMLFilesBackend. |
|
|
Deletes a Resolvable from the active backend.
Implemented in zypp::storage::XMLFilesBackend. |
|
|
Query for installed Resolvables.
Implemented in zypp::storage::XMLFilesBackend. |
|
|
Query for installed Resolvables of a certain kind.
Implemented in zypp::storage::XMLFilesBackend. |
|
||||||||||||||||
|
Query for installed Resolvables of a certain kind by name partial_match allows for text search.
Implemented in zypp::storage::XMLFilesBackend. |
|
||||||||||||
|
Implemented in zypp::storage::XMLFilesBackend. |
|
||||||||||||
|
Implemented in zypp::storage::XMLFilesBackend. |
|
|
Implemented in zypp::storage::XMLFilesBackend. |
|
||||||||||||
|
Implemented in zypp::storage::XMLFilesBackend. |
|
||||||||||||
|
Implemented in zypp::storage::XMLFilesBackend. |
|
||||||||||||
|
Implemented in zypp::storage::XMLFilesBackend. |
|
|
Implemented in zypp::storage::XMLFilesBackend. |
|
||||||||||||
|
Implemented in zypp::storage::XMLFilesBackend. |
|
|
Query for installed Sources.
Implemented in zypp::storage::XMLFilesBackend. |
|
|
Query for installed Sources.
Implemented in zypp::storage::XMLFilesBackend. |
|
|
Query for installed Sources.
Implemented in zypp::storage::XMLFilesBackend. |
|
||||||||||||
|
Stream output Definition at line 62 of file Backend.cc. |
|
|
Reimplemented in zypp::storage::XMLFilesBackend. |
1.4.6