libzypp 17.31.23
|
#include <ZYpp.h>
Public Types | |
typedef ::boost::shared_ptr< ZYpp > | Ptr |
typedef ::boost::shared_ptr< const ZYpp > | constPtr |
typedef ZYppCommitResult | CommitResult |
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 | |
Private Types | |
typedef zypp_detail::ZYppImpl | Impl |
typedef shared_ptr< Impl > | Impl_Ptr |
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) |
typedef ::boost::shared_ptr<ZYpp> zypp::ZYpp::Ptr |
typedef ::boost::shared_ptr<const ZYpp> zypp::ZYpp::constPtr |
|
private |
|
private |
|
explicitprivate |
Factory ctor.
Definition at line 327 of file ZYppFactory.cc.
|
private |
Dtor.
Definition at line 334 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 |
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 |