libzypp
17.35.14
|
#include <zypp/pool/PoolImpl.h>
Public Types | |
using | ContainerT = PoolTraits::ItemContainerT |
using | size_type = PoolTraits::size_type |
using | const_iterator = PoolTraits::const_iterator |
using | Id2ItemT = PoolTraits::Id2ItemT |
using | repository_iterator = PoolTraits::repository_iterator |
using | SolvableIdType = sat::detail::SolvableIdType |
using | EstablishedStatesImpl = ResPool::EstablishedStates::Impl |
using | HardLockQueries = PoolTraits::HardLockQueries |
using | hardLockQueries_iterator = PoolTraits::hardLockQueries_iterator |
Public Member Functions | |
PoolImpl () | |
Default ctor. More... | |
~PoolImpl () | |
Dtor. More... | |
const sat::Pool | satpool () const |
convenience. More... | |
const SerialNumber & | serial () const |
Housekeeping data serial number. More... | |
bool | empty () const |
size_type | size () const |
const_iterator | begin () const |
const_iterator | end () const |
PoolItem | find (const sat::Solvable &slv_r) const |
Return the corresponding PoolItem. More... | |
ResPoolProxy | proxy (ResPool self) const |
ResPool::EstablishedStates | establishedStates () const |
True factory for ResPool::EstablishedStates. More... | |
size_type | knownRepositoriesSize () const |
Forward list of Repositories that contribute ResObjects from sat::Pool. More... | |
repository_iterator | knownRepositoriesBegin () const |
repository_iterator | knownRepositoriesEnd () const |
Repository | reposFind (const std::string &alias_r) const |
const HardLockQueries & | hardLockQueries () const |
void | reapplyHardLocks () const |
void | setHardLockQueries (const HardLockQueries &newLocks_r) |
bool | getHardLockQueries (HardLockQueries &activeLocks_r) |
const ContainerT & | store () const |
const Id2ItemT & | id2item () const |
Save and restore state. | |
void | SaveState (const ResKind &kind_r) |
void | RestoreState (const ResKind &kind_r) |
Private Member Functions | |
void | checkSerial () const |
void | invalidate () const |
Private Attributes | |
SerialNumberWatcher | _watcher |
Watch sat pools serial number. More... | |
SerialNumberWatcher | _watcherIDs |
Watch sat pools Serial number of IDs - changes whenever resusePoolIDs==true - ResPool must also invalidate its PoolItems! More... | |
ContainerT | _store |
DefaultIntegral< bool, true > | _storeDirty |
Id2ItemT | _id2item |
DefaultIntegral< bool, true > | _id2itemDirty |
shared_ptr< ResPoolProxy > | _poolProxy |
shared_ptr< EstablishedStatesImpl > | _establishedStates |
HardLockQueries | _hardLockQueries |
Set of queries that define hardlocks. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &str, const PoolImpl &obj) |
Definition at line 168 of file PoolImpl.h.
Definition at line 174 of file PoolImpl.h.
Definition at line 175 of file PoolImpl.h.
Definition at line 176 of file PoolImpl.h.
Definition at line 177 of file PoolImpl.h.
Definition at line 179 of file PoolImpl.h.
Definition at line 181 of file PoolImpl.h.
Definition at line 183 of file PoolImpl.h.
Definition at line 281 of file PoolImpl.h.
Definition at line 282 of file PoolImpl.h.
zypp::pool::PoolImpl::PoolImpl | ( | ) |
Default ctor.
Definition at line 44 of file PoolImpl.cc.
zypp::pool::PoolImpl::~PoolImpl | ( | ) |
Dtor.
Definition at line 52 of file PoolImpl.cc.
|
inline |
convenience.
Definition at line 193 of file PoolImpl.h.
|
inline |
Housekeeping data serial number.
Definition at line 197 of file PoolImpl.h.
|
inline |
Definition at line 205 of file PoolImpl.h.
|
inline |
Definition at line 209 of file PoolImpl.h.
|
inline |
Definition at line 212 of file PoolImpl.h.
|
inline |
Definition at line 215 of file PoolImpl.h.
|
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 224 of file PoolImpl.h.
void zypp::pool::PoolImpl::SaveState | ( | const ResKind & | kind_r | ) |
void zypp::pool::PoolImpl::RestoreState | ( | const ResKind & | kind_r | ) |
|
inline |
Definition at line 245 of file PoolImpl.h.
|
inline |
True factory for ResPool::EstablishedStates.
Internally we maintain the ResPool::EstablishedStates::Impl reference shared_ptr. Updated whenever the pool content changes. On demand hand it out as ResPool::EstablishedStates Impl.
Definition at line 260 of file PoolImpl.h.
|
inline |
Forward list of Repositories that contribute ResObjects from sat::Pool.
Definition at line 265 of file PoolImpl.h.
|
inline |
Definition at line 268 of file PoolImpl.h.
|
inline |
Definition at line 271 of file PoolImpl.h.
|
inline |
Definition at line 274 of file PoolImpl.h.
|
inline |
Definition at line 284 of file PoolImpl.h.
|
inline |
Definition at line 287 of file PoolImpl.h.
|
inline |
Definition at line 308 of file PoolImpl.h.
|
inline |
Definition at line 329 of file PoolImpl.h.
|
inline |
Definition at line 370 of file PoolImpl.h.
|
inline |
Definition at line 431 of file PoolImpl.h.
|
inlineprivate |
Definition at line 456 of file PoolImpl.h.
|
inlineprivate |
Definition at line 463 of file PoolImpl.h.
|
friend |
|
private |
Watch sat pools serial number.
Definition at line 474 of file PoolImpl.h.
|
private |
Watch sat pools Serial number of IDs - changes whenever resusePoolIDs==true - ResPool must also invalidate its PoolItems!
Definition at line 476 of file PoolImpl.h.
|
mutableprivate |
Definition at line 477 of file PoolImpl.h.
|
mutableprivate |
Definition at line 478 of file PoolImpl.h.
|
mutableprivate |
Definition at line 479 of file PoolImpl.h.
|
mutableprivate |
Definition at line 480 of file PoolImpl.h.
|
mutableprivate |
Definition at line 483 of file PoolImpl.h.
|
mutableprivate |
Definition at line 484 of file PoolImpl.h.
|
private |
Set of queries that define hardlocks.
Definition at line 488 of file PoolImpl.h.