libzypp
17.24.1
|
#include <PoolImpl.h>
Public Types | |
typedef PoolTraits::ItemContainerT | ContainerT |
typedef PoolTraits::size_type | size_type |
typedef PoolTraits::const_iterator | const_iterator |
typedef PoolTraits::Id2ItemT | Id2ItemT |
typedef PoolTraits::repository_iterator | repository_iterator |
typedef sat::detail::SolvableIdType | SolvableIdType |
typedef ResPool::EstablishedStates::Impl | EstablishedStatesImpl |
typedef PoolTraits::HardLockQueries | HardLockQueries |
typedef PoolTraits::hardLockQueries_iterator | 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 it's 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 167 of file PoolImpl.h.
Definition at line 173 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 178 of file PoolImpl.h.
Definition at line 180 of file PoolImpl.h.
Definition at line 182 of file PoolImpl.h.
Definition at line 280 of file PoolImpl.h.
Definition at line 281 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 192 of file PoolImpl.h.
|
inline |
Housekeeping data serial number.
Definition at line 196 of file PoolImpl.h.
|
inline |
Definition at line 204 of file PoolImpl.h.
|
inline |
Definition at line 208 of file PoolImpl.h.
|
inline |
Definition at line 211 of file PoolImpl.h.
|
inline |
Definition at line 214 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 223 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 244 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 259 of file PoolImpl.h.
|
inline |
Forward list of Repositories that contribute ResObjects from sat::Pool.
Definition at line 264 of file PoolImpl.h.
|
inline |
Definition at line 267 of file PoolImpl.h.
|
inline |
Definition at line 270 of file PoolImpl.h.
|
inline |
Definition at line 273 of file PoolImpl.h.
|
inline |
Definition at line 283 of file PoolImpl.h.
|
inline |
Definition at line 286 of file PoolImpl.h.
|
inline |
Definition at line 305 of file PoolImpl.h.
|
inline |
Definition at line 322 of file PoolImpl.h.
|
inline |
Definition at line 363 of file PoolImpl.h.
|
inline |
Definition at line 424 of file PoolImpl.h.
|
inlineprivate |
Definition at line 449 of file PoolImpl.h.
|
inlineprivate |
Definition at line 456 of file PoolImpl.h.
|
friend |
|
private |
Watch sat pools serial number.
Definition at line 467 of file PoolImpl.h.
|
private |
Watch sat pools Serial number of IDs - changes whenever resusePoolIDs==true - ResPool must also invalidate it's PoolItems!
Definition at line 469 of file PoolImpl.h.
|
mutableprivate |
Definition at line 470 of file PoolImpl.h.
|
mutableprivate |
Definition at line 471 of file PoolImpl.h.
|
mutableprivate |
Definition at line 472 of file PoolImpl.h.
|
mutableprivate |
Definition at line 473 of file PoolImpl.h.
|
mutableprivate |
Definition at line 476 of file PoolImpl.h.
|
mutableprivate |
Definition at line 477 of file PoolImpl.h.
|
private |
Set of queries that define hardlocks.
Definition at line 481 of file PoolImpl.h.