zypp::ui::StatusHelper Struct Reference

List of all members.

Public Types

typedef
Selectable::Impl::availableItem_const_iterator 
availableItem_const_iterator

Public Member Functions

 StatusHelper (const Selectable::Impl &impl)
bool hasInstalled () const
bool hasCandidate () const
bool hasInstalledOnly () const
bool hasCandidateOnly () const
bool hasBoth () const
void resetTransactingCandidates () const
void unlockCandidates () const
void lockCandidates () const
bool setInstall () const
bool setDelete () const
bool unset () const
bool setProtected () const
bool setTaboo () const

Public Attributes

const Selectable::Impl_impl
PoolItem inst
PoolItem cand


Detailed Description

Definition at line 32 of file SelectableImpl.cc.


Member Typedef Documentation

typedef Selectable::Impl::availableItem_const_iterator zypp::ui::StatusHelper::availableItem_const_iterator

Definition at line 40 of file SelectableImpl.cc.


Constructor & Destructor Documentation

zypp::ui::StatusHelper::StatusHelper ( const Selectable::Impl impl  )  [inline]

Definition at line 34 of file SelectableImpl.cc.


Member Function Documentation

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

Definition at line 45 of file SelectableImpl.cc.

References inst.

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

Definition at line 48 of file SelectableImpl.cc.

References cand.

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

Definition at line 51 of file SelectableImpl.cc.

References cand, and inst.

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

Definition at line 54 of file SelectableImpl.cc.

References cand, and inst.

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

Definition at line 57 of file SelectableImpl.cc.

References cand, and inst.

void zypp::ui::StatusHelper::resetTransactingCandidates (  )  const [inline]

Definition at line 63 of file SelectableImpl.cc.

References _impl, zypp::ui::Selectable::Impl::availableBegin(), zypp::ui::Selectable::Impl::availableEnd(), and zypp::ResStatus::USER.

Referenced by setDelete(), and setProtected().

void zypp::ui::StatusHelper::unlockCandidates (  )  const [inline]

Definition at line 71 of file SelectableImpl.cc.

References _impl, zypp::ui::Selectable::Impl::availableBegin(), zypp::ui::Selectable::Impl::availableEnd(), and zypp::ResStatus::USER.

Referenced by setInstall(), and unset().

void zypp::ui::StatusHelper::lockCandidates (  )  const [inline]

Definition at line 80 of file SelectableImpl.cc.

References _impl, zypp::ui::Selectable::Impl::availableBegin(), zypp::ui::Selectable::Impl::availableEnd(), and zypp::ResStatus::USER.

Referenced by setTaboo().

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

Definition at line 90 of file SelectableImpl.cc.

References cand, inst, zypp::ResStatus::setLock(), zypp::ResStatus::setTransact(), zypp::ResStatus::SOLVER, zypp::PoolItem_Ref::status(), unlockCandidates(), and zypp::ResStatus::USER.

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

Definition at line 112 of file SelectableImpl.cc.

References inst, resetTransactingCandidates(), zypp::ResStatus::setLock(), zypp::ResStatus::setTransact(), zypp::PoolItem_Ref::status(), and zypp::ResStatus::USER.

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

Definition at line 123 of file SelectableImpl.cc.

References inst, zypp::ResStatus::setLock(), zypp::ResStatus::setTransact(), zypp::PoolItem_Ref::status(), unlockCandidates(), and zypp::ResStatus::USER.

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

Definition at line 133 of file SelectableImpl.cc.

References inst, resetTransactingCandidates(), zypp::ResStatus::setLock(), zypp::ResStatus::setTransact(), zypp::PoolItem_Ref::status(), and zypp::ResStatus::USER.

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

Definition at line 143 of file SelectableImpl.cc.

References cand, and lockCandidates().


Member Data Documentation

const Selectable::Impl& zypp::ui::StatusHelper::_impl

Definition at line 154 of file SelectableImpl.cc.

Referenced by lockCandidates(), resetTransactingCandidates(), and unlockCandidates().

PoolItem zypp::ui::StatusHelper::inst

Definition at line 155 of file SelectableImpl.cc.

Referenced by hasBoth(), hasCandidateOnly(), hasInstalled(), hasInstalledOnly(), setDelete(), setInstall(), setProtected(), and unset().

PoolItem zypp::ui::StatusHelper::cand

Definition at line 156 of file SelectableImpl.cc.

Referenced by hasBoth(), hasCandidate(), hasCandidateOnly(), hasInstalledOnly(), setInstall(), and setTaboo().


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 19:23:30 2007 for libzypp by  doxygen 1.5.3