libzypp
13.10.6
|
Simple ResStatus backup stack. More...
Public Types | |
typedef ResStatus::TransactByValue | Causer |
typedef bool(StatusBackup::* | Action )(const PoolItem &, Causer) |
Highlevel action. More... | |
Public Member Functions | |
ResStatus & | backup (ResStatus &status_r) |
Backup status. More... | |
ResStatus & | backup (const PoolItem &pi_r) |
ResStatus & | operator() (ResStatus &status_r) |
Backup status. More... | |
ResStatus & | operator() (const PoolItem &pi_r) |
bool | restore () |
Restore all status. More... | |
bool | setTransact (const PoolItem &pi_r, bool yesno_r, Causer causer_r) |
lowlevel ResStatus::setTransact More... | |
bool | setLock (const PoolItem &pi_r, bool yesno_r, Causer causer_r) |
lowlevel ResStatus::setLock More... | |
bool | setTransactTrue (const PoolItem &pi_r, Causer causer_r) |
lowlevel ResStatus::setTransact(true) . More... | |
bool | setTransactFalse (const PoolItem &pi_r, Causer causer_r) |
lowlevel ResStatus::setTransact(false) . More... | |
bool | transact (const PoolItem &pi_r, Causer causer_r) |
highevel set transact (force unlock). More... | |
bool | lock (const PoolItem &pi_r, Causer causer_r) |
highlevel set locked. More... | |
bool | unlock (const PoolItem &pi_r, Causer causer_r) |
highlevel unlock (also unsets transact). More... | |
template<class _Iter > | |
bool | forEach (_Iter begin_r, _Iter end_r, Action action_r, Causer causer_r) |
Highlevel action on range of items. More... | |
Private Attributes | |
std::vector < resstatus::StatusBackup > | _backup |
Simple ResStatus backup stack.
restore simply rewinds all remembered status.
Definition at line 29 of file SelectableImpl.cc.
Definition at line 32 of file SelectableImpl.cc.
Highlevel action.
Definition at line 106 of file SelectableImpl.cc.
Backup status.
Definition at line 36 of file SelectableImpl.cc.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 42 of file SelectableImpl.cc.
Backup status.
Definition at line 46 of file SelectableImpl.cc.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 49 of file SelectableImpl.cc.
|
inline |
Restore all status.
Definition at line 53 of file SelectableImpl.cc.
|
inline |
lowlevel ResStatus::setTransact
Definition at line 62 of file SelectableImpl.cc.
|
inline |
lowlevel ResStatus::setLock
Definition at line 66 of file SelectableImpl.cc.
lowlevel ResStatus::setTransact(true)
.
Definition at line 70 of file SelectableImpl.cc.
lowlevel ResStatus::setTransact(false)
.
Definition at line 74 of file SelectableImpl.cc.
highevel set transact (force unlock).
Definition at line 79 of file SelectableImpl.cc.
highlevel set locked.
Definition at line 88 of file SelectableImpl.cc.
highlevel unlock (also unsets transact).
Definition at line 97 of file SelectableImpl.cc.
|
inline |
Highlevel action on range of items.
Definition at line 110 of file SelectableImpl.cc.
|
private |
Definition at line 119 of file SelectableImpl.cc.