|
libzypp
14.29.1
|
#include <ZYpp.h>

Public Types | |
| typedef intrusive_ptr< ZYpp > | Ptr |
| typedef intrusive_ptr< const ZYpp > | constPtr |
| typedef ZYppCommitResult | CommitResult |
Public Member Functions | |
| ResPool | pool () const |
| Access to the global resolvable pool. More... | |
| ResPoolProxy | poolProxy () const |
| Pool of ui::Selectable. More... | |
| DiskUsageCounter::MountPointSet | diskUsage () |
| void | setPartitions (const DiskUsageCounter::MountPointSet &mp) |
| DiskUsageCounter::MountPointSet | getPartitions () const |
| Target_Ptr | target () const |
| Target_Ptr | getTarget () const |
| Same as target but returns NULL if target is not initialized, instead of throwing. More... | |
| void | initializeTarget (const Pathname &root, bool doRebuild_r=false) |
| void | finishTarget () |
| ZYppCommitResult | commit (const ZYppCommitPolicy &policy_r) |
| Commit changes and transactions. More... | |
| void | installSrcPackage (const SrcPackage_constPtr &srcPackage_r) |
| Install a source package on the Target. More... | |
| ManagedFile | provideSrcPackage (const SrcPackage_constPtr &srcPackage_r) |
| Provides a source package on the Target. More... | |
| Resolver_Ptr | resolver () const |
| KeyRing_Ptr | keyRing () const |
| Pathname | homePath () const |
| Get the path where zypp related plugins store persistent data and caches. More... | |
| Pathname | tmpPath () const |
| Get the path where zypp related plugins store temp data. More... | |
| void | setHomePath (const Pathname &path) |
| set the home, if you need to change it More... | |
Public Member Functions inherited from zypp::base::ReferenceCounted | |
| ReferenceCounted () | |
| Default ctor. More... | |
| ReferenceCounted (const ReferenceCounted &rhs) | |
| Copy ctor. More... | |
| virtual | ~ReferenceCounted () |
| Dtor. More... | |
| ReferenceCounted & | operator= (const ReferenceCounted &) |
| Assignment. More... | |
| unsigned | refCount () const |
| Return reference counter value. More... | |
| void | ref () const |
| Add a reference. More... | |
| void | unref () const |
| Release a reference. More... | |
Protected Member Functions | |
| virtual | ~ZYpp () |
| Dtor. More... | |
| virtual std::ostream & | dumpOn (std::ostream &str) const |
| Stream output. More... | |
Protected Member Functions inherited from zypp::base::ReferenceCounted | |
| virtual void | ref_to (unsigned) const |
| Trigger derived classes after refCount was increased. More... | |
| virtual void | unref_to (unsigned) const |
| Trigger derived classes after refCount was decreased. More... | |
Private Types | |
| typedef zypp_detail::ZYppImpl | Impl |
| typedef shared_ptr< Impl > | Impl_Ptr |
Private Member Functions | |
| ZYpp (const Impl_Ptr &impl_r) | |
| Factory ctor. More... | |
Private Attributes | |
| RW_pointer< Impl > | _pimpl |
| Pointer to implementation. More... | |
Friends | |
| class | ZYppFactory |
| Factory. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from zypp::base::ReferenceCounted | |
| static void | add_ref (const ReferenceCounted *ptr_r) |
| Called by zypp::intrusive_ptr to add a reference. More... | |
| static void | release (const ReferenceCounted *ptr_r) |
| Called by zypp::intrusive_ptr to add a reference. More... | |
Related Functions inherited from zypp::base::ReferenceCounted | |
| void | intrusive_ptr_add_ref (const ReferenceCounted *ptr_r) |
| void | intrusive_ptr_release (const ReferenceCounted *ptr_r) |
| std::ostream & | operator<< (std::ostream &str, const ReferenceCounted &obj) |
| typedef intrusive_ptr<ZYpp> zypp::ZYpp::Ptr |
| typedef intrusive_ptr<const ZYpp> zypp::ZYpp::constPtr |
|
private |
|
private |
|
explicitprivate |
| ResPool zypp::ZYpp::pool | ( | void | ) | const |
Access to the global resolvable pool.
Same as zypp::ResPool::instance
| ResPoolProxy zypp::ZYpp::poolProxy | ( | ) | const |
Pool of ui::Selectable.
Based on the ResPool, ui::Selectable groups ResObjetcs of same kind and name.
| DiskUsageCounter::MountPointSet zypp::ZYpp::diskUsage | ( | ) |
| void zypp::ZYpp::setPartitions | ( | const DiskUsageCounter::MountPointSet & | mp | ) |
| DiskUsageCounter::MountPointSet zypp::ZYpp::getPartitions | ( | ) | const |
| Target_Ptr zypp::ZYpp::getTarget | ( | ) | const |
| void zypp::ZYpp::initializeTarget | ( | const Pathname & | root, |
| bool | doRebuild_r = false |
||
| ) |
| ZYppCommitResult zypp::ZYpp::commit | ( | const ZYppCommitPolicy & | policy_r | ) |
Commit changes and transactions.
| ref CommitPolicy |
| Exception |
| void zypp::ZYpp::installSrcPackage | ( | const SrcPackage_constPtr & | srcPackage_r | ) |
| ManagedFile zypp::ZYpp::provideSrcPackage | ( | const SrcPackage_constPtr & | srcPackage_r | ) |
| Pathname zypp::ZYpp::homePath | ( | ) | const |
| Pathname zypp::ZYpp::tmpPath | ( | ) | const |
| void zypp::ZYpp::setHomePath | ( | const Pathname & | path | ) |
|
protectedvirtual |
Stream output.
Reimplemented from zypp::base::ReferenceCounted.
|
friend |
|
private |