Poor man's save/restore state. | |
| |
void | saveState () const |
void | restoreState () const |
bool | sameState () const |
ResStatus | _savedStatus |
Public Member Functions | |
Impl () | |
Impl (ResObject::constPtr res_r, const ResStatus &status_r=ResStatus()) | |
ResStatus & | status () const |
ResStatus & | statusReset () const |
ResObject::constPtr | resolvable () const |
bool | autoprotect () const |
Static Public Member Functions | |
static shared_ptr< Impl > | nullimpl () |
Offer default Impl. | |
Private Attributes | |
ResStatus | _status |
ResObject::constPtr | _resolvable |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const PoolItem_Ref::Impl &obj) |
Definition at line 31 of file PoolItem.cc.
|
Definition at line 33 of file PoolItem.cc. |
|
Definition at line 36 of file PoolItem.cc. References autoprotect(). |
|
Definition at line 44 of file PoolItem.cc. References _status. Referenced by operator<<(). |
|
Definition at line 47 of file PoolItem.cc. References _status, autoprotect(), zypp::ResStatus::resetTransact(), zypp::ResStatus::setLock(), and zypp::ResStatus::USER. |
|
Definition at line 57 of file PoolItem.cc. References _resolvable. Referenced by operator<<(). |
|
Definition at line 109 of file PoolItem.cc. References _resolvable, _status, zypp::VendorAttr::autoProtect(), zypp::VendorAttr::instance(), zypp::ResStatus::isInstalled(), MIL, zypp::ResStatus::setLock(), and zypp::ResStatus::USER. Referenced by Impl(), and statusReset(). |
|
Definition at line 71 of file PoolItem.cc. References _savedStatus, and _status. |
|
Definition at line 73 of file PoolItem.cc. References _savedStatus, and _status. |
|
Definition at line 75 of file PoolItem.cc. References _savedStatus, _status, zypp::ResStatus::getTransactValue(), zypp::ResStatus::isBySolver(), and zypp::ResStatus::isLicenceConfirmed(). |
|
Offer default Impl.
Definition at line 90 of file PoolItem.cc. |
|
Stream output Definition at line 99 of file PoolItem.cc. References resolvable(), and status(). |
|
Definition at line 63 of file PoolItem.cc. Referenced by autoprotect(), restoreState(), sameState(), saveState(), status(), and statusReset(). |
|
Definition at line 64 of file PoolItem.cc. Referenced by autoprotect(), and resolvable(). |
|
Definition at line 85 of file PoolItem.cc. Referenced by restoreState(), sameState(), and saveState(). |