#include <ZYppImpl.h>
Public Types | ||||
typedef std::set< Locale > | LocaleSet | |||
Public Member Functions | ||||
ZYppImpl () | ||||
Default ctor. | ||||
~ZYppImpl () | ||||
Dtor. | ||||
ResPool | pool () const | |||
ResPoolProxy | poolProxy () const | |||
SourceFeed_Ref | sourceFeed () const | |||
KeyRing_Ptr | keyRing () const | |||
Resolver_Ptr | resolver () const | |||
void | addResolvables (const ResStore &store, bool installed=false) | |||
void | removeResolvables (const ResStore &store) | |||
Target_Ptr | target () const | |||
| ||||
void | initTarget (const Pathname &root, bool commit_only=false) | |||
| ||||
void | finishTarget () | |||
| ||||
ZYppCommitResult | commit (const ZYppCommitPolicy &policy_r) | |||
void | setTextLocale (const Locale &textLocale_r) | |||
Locale | getTextLocale () const | |||
void | setRequestedLocales (const LocaleSet &locales_r) | |||
LocaleSet | getRequestedLocales () const | |||
LocaleSet | getAvailableLocales () const | |||
void | availableLocale (const Locale &locale_r) | |||
internal use | ||||
Arch | architecture () const | |||
Get the system architecture. | ||||
void | setArchitecture (const Arch &arch) | |||
Set the system architecture. | ||||
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 tmp data. | ||||
void | setHomePath (const Pathname &path) | |||
set the home, if you need to change it | ||||
DiskUsageCounter::MountPointSet | diskUsage () | |||
void | setPartitions (const DiskUsageCounter::MountPointSet &mp) | |||
Private Member Functions | ||||
void | removeInstalledResolvables () | |||
Private Attributes | ||||
Locale | _textLocale | |||
ResPoolManager | _pool | |||
SourceFeed_Ref | _sourceFeed | |||
Target_Ptr | _target | |||
Resolver_Ptr | _resolver | |||
KeyRing_Ptr | _keyring | |||
Arch | _architecture | |||
Pathname | _home_path | |||
DiskUsageCounter | _disk_usage | |||
defined mount points, used for disk usage counting | ||||
Friends | ||||
std::ostream & | operator<< (std::ostream &str, const ZYppImpl &obj) |
Definition at line 41 of file ZYppImpl.h.
|
Definition at line 110 of file ZYppImpl.h. |
|
Default ctor.
Definition at line 128 of file ZYppImpl.cc. References _architecture, _keyring, _textLocale, MIL, and tmpPath(). |
|
Dtor.
Definition at line 150 of file ZYppImpl.cc. |
|
Definition at line 169 of file ZYppImpl.cc. References _pool, zypp::ResPool::end(), zypp::ResPoolManager::erase(), and pool(). Referenced by commit(), finishTarget(), and initTarget(). |
|
Definition at line 56 of file ZYppImpl.h. References _pool, and zypp::ResPoolManager::accessor(). Referenced by commit(), diskUsage(), getAvailableLocales(), getRequestedLocales(), removeInstalledResolvables(), and setRequestedLocales(). |
|
Definition at line 59 of file ZYppImpl.h. References _pool, and zypp::ResPoolManager::proxy(). |
|
Definition at line 63 of file ZYppImpl.h. References _sourceFeed. |
|
Definition at line 67 of file ZYppImpl.h. References _keyring. |
|
Definition at line 71 of file ZYppImpl.h. References _resolver. |
|
Definition at line 156 of file ZYppImpl.cc. References _pool, zypp::ResStore::begin(), zypp::ResStore::end(), and zypp::ResPoolManager::insert(). Referenced by commit(). |
|
Definition at line 161 of file ZYppImpl.cc. References _pool, zypp::ResStore::begin(), zypp::ResStore::end(), and zypp::ResPoolManager::erase(). |
|
Definition at line 189 of file ZYppImpl.cc. References _target, and ZYPP_THROW. |
|
Definition at line 196 of file ZYppImpl.cc. References _target, MIL, and removeInstalledResolvables(). |
|
Definition at line 214 of file ZYppImpl.cc. References _target, and removeInstalledResolvables(). |
|
Definition at line 226 of file ZYppImpl.cc. References _target, addResolvables(), zypp::ZYppCommitPolicy::dryRun(), MIL, pool(), removeInstalledResolvables(), and ZYPP_THROW. |
|
Definition at line 101 of file ZYppImpl.h. References _textLocale. |
|
Definition at line 104 of file ZYppImpl.h. References _textLocale. |
|
Definition at line 255 of file ZYppImpl.cc. References _pool, zypp::Language::availableInstance(), zypp::ResPoolManager::insert(), and pool(). |
|
|
Definition at line 309 of file ZYppImpl.cc. References zypp::ResPool::byKindBegin(), zypp::ResPool::byKindEnd(), and pool(). |
|
internal use
Definition at line 341 of file ZYppImpl.cc. References _pool, and zypp::ResPoolManager::insert(). |
|
Get the system architecture.
Definition at line 123 of file ZYppImpl.h. References _architecture. |
|
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 349 of file ZYppImpl.cc. References _architecture, and _resolver. |
|
Get the path where zypp related plugins store persistent data and caches.
Definition at line 358 of file ZYppImpl.cc. References _home_path, and zypp::filesystem::Pathname::empty(). |
|
Get the path where zypp related plugins store tmp data.
Definition at line 364 of file ZYppImpl.cc. References zypp::filesystem::TmpPath::path(). Referenced by ZYppImpl(). |
|
set the home, if you need to change it
Definition at line 361 of file ZYppImpl.cc. References _home_path. |
|
Definition at line 180 of file ZYppImpl.cc. References _disk_usage, zypp::DiskUsageCounter::disk_usage(), and pool(). |
|
Definition at line 183 of file ZYppImpl.cc. References _disk_usage, and zypp::DiskUsageCounter::setMountPoints(). |
|
Stream output Definition at line 375 of file ZYppImpl.cc. |
|
Definition at line 107 of file ZYppImpl.h. Referenced by getTextLocale(), setTextLocale(), and ZYppImpl(). |
|
Definition at line 145 of file ZYppImpl.h. Referenced by addResolvables(), availableLocale(), pool(), poolProxy(), removeInstalledResolvables(), removeResolvables(), and setRequestedLocales(). |
|
Definition at line 147 of file ZYppImpl.h. Referenced by sourceFeed(). |
|
Definition at line 149 of file ZYppImpl.h. Referenced by commit(), finishTarget(), initTarget(), and target(). |
|
Definition at line 151 of file ZYppImpl.h. Referenced by resolver(), and setArchitecture(). |
|
Definition at line 153 of file ZYppImpl.h. Referenced by keyRing(), and ZYppImpl(). |
|
Definition at line 155 of file ZYppImpl.h. Referenced by architecture(), setArchitecture(), and ZYppImpl(). |
|
Definition at line 157 of file ZYppImpl.h. Referenced by homePath(), and setHomePath(). |
|
defined mount points, used for disk usage counting
Definition at line 159 of file ZYppImpl.h. Referenced by diskUsage(), and setPartitions(). |