|
libzypp 17.37.0
|
#include <zypp/ZYpp.h>
Public Types | |
| using | Ptr = shared_ptr<ZYpp> |
| using | constPtr = shared_ptr<const ZYpp> |
| using | CommitResult = ZYppCommitResult |
Public Member Functions | |
| ResPool | pool () const |
| Access to the global resolvable pool. | |
| ResPoolProxy | poolProxy () const |
| Pool of ui::Selectable. | |
| 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. | |
| void | initializeTarget (const Pathname &root, bool doRebuild_r=false) |
| void | finishTarget () |
| ZYppCommitResult | commit (const ZYppCommitPolicy &policy_r) |
| Commit changes and transactions. | |
| void | installSrcPackage (const SrcPackage_constPtr &srcPackage_r) |
| Install a source package on the Target. | |
| ManagedFile | provideSrcPackage (const SrcPackage_constPtr &srcPackage_r) |
| Provides a source package on the Target. | |
| Resolver_Ptr | resolver () const |
| KeyRing_Ptr | keyRing () const |
| Pathname | homePath () const |
| Get the path where zypp related plugins store persistent data and caches. | |
| Pathname | tmpPath () const |
| Get the path where zypp related plugins store temp data. | |
| void | setHomePath (const Pathname &path) |
| set the home, if you need to change it | |
Static Public Member Functions | |
| static void | setShutdownSignal () |
| To be called from zyppers signal handlers. | |
| static void | clearShutdownSignal () |
| To be called from zypper code. | |
Private Types | |
| using | Impl = zypp_detail::ZYppImpl |
| using | Impl_Ptr = shared_ptr<Impl> |
Private Member Functions | |
| ZYpp (const Impl_Ptr &impl_r) | |
| Factory ctor. | |
| friend | void ::boost::checked_delete (ZYpp *) BOOST_NOEXCEPT |
| Deleted via shared_ptr. | |
| ~ZYpp () | |
| Dtor. | |
Private Attributes | |
| RW_pointer< Impl > | _pimpl |
| Pointer to implementation. | |
Friends | |
| class | ZYppFactory |
| Factory. | |
| std::ostream & | operator<< (std::ostream &str, const ZYpp &obj) |
| using zypp::ZYpp::Ptr = shared_ptr<ZYpp> |
| using zypp::ZYpp::constPtr = shared_ptr<const ZYpp> |
|
private |
|
private |
|
explicitprivate |
Factory ctor.
Definition at line 331 of file ZYppFactory.cc.
|
private |
Dtor.
Definition at line 338 of file ZYppFactory.cc.
| ResPool zypp::ZYpp::pool | ( | ) | 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::target | ( | ) | const |
| Target_Ptr zypp::ZYpp::getTarget | ( | ) | const |
|
static |
|
static |
| 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 | ) |
|
private |
Deleted via shared_ptr.
|
friend |
|
friend |
|
private |