libzypp
13.10.6
|
#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 PoolTraits::HardLockQueries | HardLockQueries |
typedef PoolTraits::hardLockQueries_iterator | hardLockQueries_iterator |
typedef PoolTraits::AutoSoftLocks | AutoSoftLocks |
typedef PoolTraits::autoSoftLocks_iterator | autoSoftLocks_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 |
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 AutoSoftLocks & | autoSoftLocks () const |
bool | autoSoftLockAppliesTo (sat::Solvable solv_r) const |
void | setAutoSoftLocks (const AutoSoftLocks &newLocks_r) |
void | getActiveSoftLocks (AutoSoftLocks &activeLocks_r) |
const ContainerT & | store () const |
const Id2ItemT & | id2item () const |
Save and restore state. | |
void | SaveState (const ResObject::Kind &kind_r) |
void | RestoreState (const ResObject::Kind &kind_r) |
Private Member Functions | |
void | checkSerial () const |
void | invalidate () const |
Private Attributes | |
SerialNumberWatcher | _watcher |
Watch sat pools serial number. More... | |
ContainerT | _store |
DefaultIntegral< bool, true > | _storeDirty |
Id2ItemT | _id2item |
DefaultIntegral< bool, true > | _id2itemDirty |
shared_ptr< ResPoolProxy > | _poolProxy |
AutoSoftLocks | _autoSoftLocks |
Set of solvable idents that should be soft locked per default. More... | |
HardLockQueries | _hardLockQueries |
Set of queries that define hardlocks. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &str, const PoolImpl &obj) |
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 | ( | ) |
Default ctor.
Definition at line 38 of file PoolImpl.cc.
zypp::pool::PoolImpl::~PoolImpl | ( | ) |
Dtor.
Definition at line 46 of file PoolImpl.cc.
|
inline |
convenience.
Definition at line 139 of file PoolImpl.h.
|
inline |
Housekeeping data serial number.
Definition at line 143 of file PoolImpl.h.
|
inline |
Definition at line 151 of file PoolImpl.h.
|
inline |
Definition at line 155 of file PoolImpl.h.
|
inline |
Definition at line 158 of file PoolImpl.h.
|
inline |
Definition at line 161 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 170 of file PoolImpl.h.
void zypp::pool::PoolImpl::SaveState | ( | const ResObject::Kind & | kind_r | ) |
void zypp::pool::PoolImpl::RestoreState | ( | const ResObject::Kind & | kind_r | ) |
|
inline |
Definition at line 191 of file PoolImpl.h.
|
inline |
Forward list of Repositories that contribute ResObjects from sat::Pool.
Definition at line 203 of file PoolImpl.h.
|
inline |
Definition at line 206 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 222 of file PoolImpl.h.
|
inline |
Definition at line 225 of file PoolImpl.h.
|
inline |
Definition at line 244 of file PoolImpl.h.
|
inline |
Definition at line 261 of file PoolImpl.h.
|
inline |
Definition at line 305 of file PoolImpl.h.
|
inline |
Definition at line 308 of file PoolImpl.h.
|
inline |
Definition at line 311 of file PoolImpl.h.
|
inline |
Definition at line 328 of file PoolImpl.h.
|
inline |
Definition at line 367 of file PoolImpl.h.
|
inline |
Definition at line 428 of file PoolImpl.h.
|
inlineprivate |
Definition at line 453 of file PoolImpl.h.
|
inlineprivate |
Definition at line 460 of file PoolImpl.h.
|
friend |
|
private |
Watch sat pools serial number.
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 474 of file PoolImpl.h.
|
mutableprivate |
Definition at line 477 of file PoolImpl.h.
|
private |
Set of solvable idents that should be soft locked per default.
Definition at line 481 of file PoolImpl.h.
|
private |
Set of queries that define hardlocks.
Definition at line 483 of file PoolImpl.h.