#include <PoolImpl.h>
Definition at line 116 of file PoolImpl.h.
Definition at line 122 of file PoolImpl.h.
Definition at line 123 of file PoolImpl.h.
Definition at line 124 of file PoolImpl.h.
Definition at line 125 of file PoolImpl.h.
Definition at line 127 of file PoolImpl.h.
Definition at line 129 of file PoolImpl.h.
Definition at line 219 of file PoolImpl.h.
Definition at line 220 of file PoolImpl.h.
Definition at line 302 of file PoolImpl.h.
Definition at line 303 of file PoolImpl.h.
zypp::pool::PoolImpl::PoolImpl | ( | ) |
zypp::pool::PoolImpl::~PoolImpl | ( | ) |
const sat::Pool zypp::pool::PoolImpl::satpool | ( | ) | const [inline] |
convenience.
Definition at line 139 of file PoolImpl.h.
References zypp::sat::Pool::instance().
Referenced by checkSerial(), empty(), knownRepositoriesBegin(), knownRepositoriesEnd(), knownRepositoriesSize(), reposFind(), serial(), size(), and store().
const SerialNumber& zypp::pool::PoolImpl::serial | ( | ) | const [inline] |
Housekeeping data serial number.
Definition at line 143 of file PoolImpl.h.
References satpool(), and zypp::sat::Pool::serial().
Referenced by checkSerial().
bool zypp::pool::PoolImpl::empty | ( | ) | const [inline] |
Definition at line 151 of file PoolImpl.h.
References satpool(), and zypp::sat::Pool::solvablesEmpty().
size_type zypp::pool::PoolImpl::size | ( | ) | const [inline] |
Definition at line 155 of file PoolImpl.h.
References satpool(), and zypp::sat::Pool::solvablesSize().
Referenced by id2item().
const_iterator zypp::pool::PoolImpl::begin | ( | ) | const [inline] |
Definition at line 158 of file PoolImpl.h.
References zypp::make_filter_begin(), and store().
Referenced by getActiveSoftLocks(), getHardLockQueries(), id2item(), reapplyHardLocks(), setAutoSoftLocks(), and setHardLockQueries().
const_iterator zypp::pool::PoolImpl::end | ( | ) | const [inline] |
Definition at line 161 of file PoolImpl.h.
References zypp::make_filter_end(), and store().
Referenced by getActiveSoftLocks(), getHardLockQueries(), id2item(), reapplyHardLocks(), setAutoSoftLocks(), and setHardLockQueries().
PoolItem zypp::pool::PoolImpl::find | ( | const sat::Solvable & | slv_r | ) | const [inline] |
Return the corresponding PoolItem.
Pool and sat pool should be in sync. Returns an empty PoolItem if there is no corresponding PoolItem.
Definition at line 170 of file PoolImpl.h.
References zypp::sat::Solvable::id(), and store().
void zypp::pool::PoolImpl::SaveState | ( | const ResObject::Kind & | kind_r | ) |
void zypp::pool::PoolImpl::RestoreState | ( | const ResObject::Kind & | kind_r | ) |
ResPoolProxy zypp::pool::PoolImpl::proxy | ( | ResPool | self | ) | const [inline] |
size_type zypp::pool::PoolImpl::knownRepositoriesSize | ( | ) | const [inline] |
Forward list of Repositories that contribute ResObjects from sat::Pool.
Definition at line 203 of file PoolImpl.h.
References checkSerial(), zypp::sat::Pool::reposSize(), and satpool().
repository_iterator zypp::pool::PoolImpl::knownRepositoriesBegin | ( | ) | const [inline] |
Definition at line 206 of file PoolImpl.h.
References checkSerial(), zypp::sat::Pool::reposBegin(), and satpool().
repository_iterator zypp::pool::PoolImpl::knownRepositoriesEnd | ( | ) | const [inline] |
Definition at line 209 of file PoolImpl.h.
References checkSerial(), zypp::sat::Pool::reposEnd(), and satpool().
Repository zypp::pool::PoolImpl::reposFind | ( | const std::string & | alias_r | ) | const [inline] |
Definition at line 212 of file PoolImpl.h.
References checkSerial(), zypp::sat::Pool::reposFind(), and satpool().
const HardLockQueries& zypp::pool::PoolImpl::hardLockQueries | ( | ) | const [inline] |
void zypp::pool::PoolImpl::reapplyHardLocks | ( | ) | const [inline] |
Definition at line 225 of file PoolImpl.h.
References _hardLockQueries, begin(), zypp::PoolQueryResult::contains(), end(), for_, MIL, zypp::resstatus::UserLockQueryManip::reapplyLock(), and zypp::PoolQueryResult::size().
Referenced by store().
void zypp::pool::PoolImpl::setHardLockQueries | ( | const HardLockQueries & | newLocks_r | ) | [inline] |
Definition at line 244 of file PoolImpl.h.
References _hardLockQueries, begin(), zypp::PoolQueryResult::contains(), end(), for_, MIL, zypp::resstatus::UserLockQueryManip::setLock(), and zypp::PoolQueryResult::size().
bool zypp::pool::PoolImpl::getHardLockQueries | ( | HardLockQueries & | activeLocks_r | ) | [inline] |
Definition at line 261 of file PoolImpl.h.
References _hardLockQueries, begin(), zypp::resstatus::UserLockQueryManip::diffLock(), end(), and for_.
const AutoSoftLocks& zypp::pool::PoolImpl::autoSoftLocks | ( | ) | const [inline] |
bool zypp::pool::PoolImpl::autoSoftLockAppliesTo | ( | sat::Solvable | solv_r | ) | const [inline] |
Definition at line 308 of file PoolImpl.h.
References _autoSoftLocks, and zypp::sat::Solvable::ident().
Referenced by setAutoSoftLocks(), and store().
void zypp::pool::PoolImpl::setAutoSoftLocks | ( | const AutoSoftLocks & | newLocks_r | ) | [inline] |
Definition at line 311 of file PoolImpl.h.
References _autoSoftLocks, autoSoftLockAppliesTo(), begin(), end(), for_, MIL, and zypp::ResStatus::USER.
void zypp::pool::PoolImpl::getActiveSoftLocks | ( | AutoSoftLocks & | activeLocks_r | ) | [inline] |
Definition at line 328 of file PoolImpl.h.
References _autoSoftLocks, begin(), end(), for_, zypp::ResStatus::KEEP_STATE, zypp::ResStatus::LOCKED, and zypp::ResStatus::TRANSACT.
const ContainerT& zypp::pool::PoolImpl::store | ( | ) | const [inline] |
Definition at line 367 of file PoolImpl.h.
References _store, _storeDirty, autoSoftLockAppliesTo(), zypp::sat::Pool::capacity(), checkSerial(), for_, zypp::sat::Solvable::isKind(), zypp::PoolItem::makePoolItem(), zypp::ResKind::product, reapplyHardLocks(), satpool(), zypp::ResStatus::setSoftLock(), zypp::PoolItem::status(), and zypp::ResStatus::USER.
const Id2ItemT& zypp::pool::PoolImpl::id2item | ( | ) | const [inline] |
Definition at line 428 of file PoolImpl.h.
References _id2item, _id2itemDirty, begin(), checkSerial(), end(), for_, zypp::IdString::id(), zypp::sat::Solvable::ident(), zypp::sat::Solvable::isKind(), size(), zypp::ResKind::srcpackage, and store().
Referenced by zypp::ResPoolProxy::Impl::Impl().
void zypp::pool::PoolImpl::checkSerial | ( | ) | const [inline, private] |
Definition at line 453 of file PoolImpl.h.
References _watcher, invalidate(), zypp::sat::Pool::prepare(), zypp::SerialNumberWatcher::remember(), satpool(), and serial().
Referenced by id2item(), knownRepositoriesBegin(), knownRepositoriesEnd(), knownRepositoriesSize(), proxy(), reposFind(), and store().
void zypp::pool::PoolImpl::invalidate | ( | ) | const [inline, private] |
Definition at line 460 of file PoolImpl.h.
References _id2item, _id2itemDirty, _poolProxy, and _storeDirty.
Referenced by checkSerial().
std::ostream& operator<< | ( | std::ostream & | str, | |
const PoolImpl & | obj | |||
) | [friend] |
Watch sat pools serial number.
Definition at line 470 of file PoolImpl.h.
Referenced by checkSerial().
ContainerT zypp::pool::PoolImpl::_store [mutable, private] |
DefaultIntegral<bool,true> zypp::pool::PoolImpl::_storeDirty [mutable, private] |
Id2ItemT zypp::pool::PoolImpl::_id2item [mutable, private] |
DefaultIntegral<bool,true> zypp::pool::PoolImpl::_id2itemDirty [mutable, private] |
shared_ptr<ResPoolProxy> zypp::pool::PoolImpl::_poolProxy [mutable, private] |
Set of solvable idents that should be soft locked per default.
Definition at line 481 of file PoolImpl.h.
Referenced by autoSoftLockAppliesTo(), autoSoftLocks(), getActiveSoftLocks(), and setAutoSoftLocks().
Set of queries that define hardlocks.
Definition at line 483 of file PoolImpl.h.
Referenced by getHardLockQueries(), hardLockQueries(), reapplyHardLocks(), and setHardLockQueries().