libzypp
15.28.6
|
#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. 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... | |
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... | |
friend | void::boost::checked_delete (ZYpp *) |
Deleted via shared_ptr. More... | |
~ZYpp () | |
Dtor. More... | |
Private Attributes | |
RW_pointer< Impl > | _pimpl |
Pointer to implementation. More... | |
Friends | |
class | ZYppFactory |
Factory. More... | |
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 |
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 |
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 | ) |
|
private |
Deleted via shared_ptr.
|
friend |
|
friend |
|
private |