libzypp  10.5.0
zypp::ui::StatusHelper Struct Reference

List of all members.

Public Types

typedef
Selectable::Impl::available_const_iterator 
available_const_iterator

Public Member Functions

 StatusHelper (const Selectable::Impl &impl, ResStatus::TransactByValue causer_r)
bool hasInstalled () const
bool hasCandidate () const
bool hasInstalledOnly () const
bool hasCandidateOnly () const
bool hasBoth () const
Topevel methods must restore status on failure.
bool setInstall ()
bool setDelete ()
bool unset ()
bool setProtected ()
bool setTaboo ()

Private Member Functions

bool restore ()
Helper methods backup status but do not replay.
bool resetTransactingCandidates ()
bool unlockCandidates ()
bool lockCandidates ()

Private Attributes

const Selectable::Impl_impl
PoolItem inst
PoolItem cand
ResStatus::TransactByValue causer
StatusBackup backup

Detailed Description

Todo:
Unify status and pickStatus.

Definition at line 128 of file SelectableImpl.cc.


Member Typedef Documentation


Constructor & Destructor Documentation

zypp::ui::StatusHelper::StatusHelper ( const Selectable::Impl impl,
ResStatus::TransactByValue  causer_r 
) [inline]

Definition at line 130 of file SelectableImpl.cc.


Member Function Documentation

bool zypp::ui::StatusHelper::hasInstalled ( ) const [inline]

Definition at line 142 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::hasCandidate ( ) const [inline]

Definition at line 145 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::hasInstalledOnly ( ) const [inline]

Definition at line 148 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::hasCandidateOnly ( ) const [inline]

Definition at line 151 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::hasBoth ( ) const [inline]

Definition at line 154 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::setInstall ( ) [inline]

Definition at line 159 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::setDelete ( ) [inline]

Definition at line 187 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::unset ( ) [inline]

Definition at line 203 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::setProtected ( ) [inline]

Definition at line 218 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::setTaboo ( ) [inline]

Definition at line 235 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::resetTransactingCandidates ( ) [inline, private]

Definition at line 251 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::unlockCandidates ( ) [inline, private]

Definition at line 260 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::lockCandidates ( ) [inline, private]

Definition at line 270 of file SelectableImpl.cc.

bool zypp::ui::StatusHelper::restore ( ) [inline, private]

Definition at line 289 of file SelectableImpl.cc.


Member Data Documentation

Definition at line 283 of file SelectableImpl.cc.

Definition at line 284 of file SelectableImpl.cc.

Definition at line 285 of file SelectableImpl.cc.

Definition at line 290 of file SelectableImpl.cc.


The documentation for this struct was generated from the following file: