#include <ZYpp.h>
Inheritance diagram for zypp::ZYpp:
Public Types | ||||
typedef intrusive_ptr< ZYpp > | Ptr | |||
typedef intrusive_ptr< const ZYpp > | constPtr | |||
typedef ZYppCommitResult | CommitResult | |||
typedef std::set< Locale > | LocaleSet | |||
Public Member Functions | ||||
ResPool | pool () const | |||
Pool of ResStatus for individual ResObjetcs. | ||||
ResPoolProxy | poolProxy () const | |||
Pool of ui::Selectable. | ||||
void | addResolvables (const ResStore &store, bool installed=false) | |||
void | removeResolvables (const ResStore &store) | |||
DiskUsageCounter::MountPointSet | diskUsage () | |||
void | setPartitions (const DiskUsageCounter::MountPointSet &mp) | |||
Target_Ptr | target () const | |||
| ||||
void | initTarget (const Pathname &root, bool commit_only=false) | |||
| ||||
void | finishTarget () | |||
| ||||
ZYppCommitResult | commit (const ZYppCommitPolicy &policy_r) | |||
Commit changes and transactions. | ||||
Resolver_Ptr | resolver () const | |||
KeyRing_Ptr | keyRing () const | |||
void | setTextLocale (const Locale &textLocale_r) | |||
Set the preferd locale for translated labels, descriptions, etc. | ||||
Locale | getTextLocale () const | |||
void | setRequestedLocales (const LocaleSet &locales_r) | |||
Set the requested locales. | ||||
LocaleSet | getRequestedLocales () const | |||
LocaleSet | getAvailableLocales () const | |||
Get the set of available locales. | ||||
void | availableLocale (const Locale &locale_r) | |||
internal use only | ||||
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 | ||||
Arch | architecture () const | |||
Get the system architecture. | ||||
void | setArchitecture (const Arch &arch) | |||
Set the system architecture. | ||||
Protected Member Functions | ||||
virtual | ~ZYpp () | |||
Dtor. | ||||
virtual std::ostream & | dumpOn (std::ostream &str) const | |||
Stream output. | ||||
Private Types | ||||
typedef zypp_detail::ZYppImpl | Impl | |||
typedef shared_ptr< Impl > | Impl_Ptr | |||
Private Member Functions | ||||
ZYpp (const Impl_Ptr &impl_r) | ||||
Factory ctor. | ||||
Private Attributes | ||||
RW_pointer< Impl > | _pimpl | |||
Pointer to implementation. | ||||
Friends | ||||
class | ZYppFactory | |||
Factory. |
Definition at line 53 of file ZYpp.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
Dtor.
|
|
Factory ctor.
|
|
Pool of ResStatus for individual ResObjetcs.
Definition at line 57 of file ZYpp.cc. References _pimpl. |
|
Pool of ui::Selectable. Based on the ResPool, ui::Selectable groups ResObjetcs of same kind and name. Definition at line 66 of file ZYpp.cc. References _pimpl. |
|
Definition at line 84 of file ZYpp.cc. References _pimpl. |
|
Definition at line 89 of file ZYpp.cc. References _pimpl. |
|
Definition at line 60 of file ZYpp.cc. References _pimpl. |
|
Definition at line 63 of file ZYpp.cc. References _pimpl. |
|
Definition at line 96 of file ZYpp.cc. References _pimpl. |
|
Definition at line 99 of file ZYpp.cc. References _pimpl. |
|
Definition at line 102 of file ZYpp.cc. References _pimpl. |
|
Commit changes and transactions.
Definition at line 105 of file ZYpp.cc. References _pimpl. |
|
Definition at line 69 of file ZYpp.cc. References _pimpl. |
|
Definition at line 72 of file ZYpp.cc. References _pimpl. |
|
Set the preferd locale for translated labels, descriptions, etc. passed to the UI. Definition at line 110 of file ZYpp.cc. References _pimpl. |
|
Definition at line 113 of file ZYpp.cc. References _pimpl. |
|
Set the requested locales. Languages to be supported by the system, e.g. language specific packages to be installed. This function operates on the pool, so only the locales that are available as resolvables are marked as requested. The rest is ignored. Definition at line 116 of file ZYpp.cc. References _pimpl. |
|
Definition at line 119 of file ZYpp.cc. References _pimpl. |
|
Get the set of available locales. This is computed from the package data so it actually represents all locales packages claim to support. Definition at line 122 of file ZYpp.cc. References _pimpl. |
|
internal use only
Definition at line 125 of file ZYpp.cc. References _pimpl. |
|
Get the path where zypp related plugins store persistent data and caches.
Definition at line 134 of file ZYpp.cc. References _pimpl. |
|
Get the path where zypp related plugins store temp data.
Definition at line 137 of file ZYpp.cc. References _pimpl. |
|
set the home, if you need to change it
Definition at line 140 of file ZYpp.cc. References _pimpl. |
|
Get the system architecture.
Definition at line 128 of file ZYpp.cc. References _pimpl. |
|
Set the system architecture. This should be used for testing/debugging only since the Target backend won't be able to install incompatible packages ;-) Definition at line 131 of file ZYpp.cc. References _pimpl. |
|
Stream output.
Reimplemented from zypp::base::ReferenceCounted. Definition at line 46 of file ZYpp.cc. References _pimpl. |
|
Factory.
|
|
Pointer to implementation.
Definition at line 180 of file ZYpp.h. Referenced by addResolvables(), architecture(), availableLocale(), commit(), diskUsage(), dumpOn(), finishTarget(), getAvailableLocales(), getRequestedLocales(), getTextLocale(), homePath(), initTarget(), keyRing(), pool(), poolProxy(), removeResolvables(), resolver(), setArchitecture(), setHomePath(), setPartitions(), setRequestedLocales(), setTextLocale(), target(), and tmpPath(). |