zypp::ui::StatusHelper Struct Reference

List of all members.

Public Member Functions

 StatusHelper (const Selectable::Impl &impl)
bool hasInstalled () const
bool hasCandidate () const
bool hasInstalledOnly () const
bool hasCandidateOnly () const
bool hasBoth () const
bool setInstall (ResStatus::TransactByValue by_r) const
bool setDelete (ResStatus::TransactByValue by_r) const
bool unset (ResStatus::TransactByValue by_r) const
bool setProtected (ResStatus::TransactByValue by_r) const
bool setTaboo (ResStatus::TransactByValue by_r) const

Public Attributes

const Selectable::Impl_impl
PoolItem inst
PoolItem cand

Detailed Description

Todo:
Support non USER level mipulation.

Definition at line 33 of file SelectableImpl.cc.


Constructor & Destructor Documentation

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

Definition at line 35 of file SelectableImpl.cc.


Member Function Documentation

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

Definition at line 44 of file SelectableImpl.cc.

References inst.

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

Definition at line 47 of file SelectableImpl.cc.

References cand.

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

Definition at line 50 of file SelectableImpl.cc.

References cand, and inst.

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

Definition at line 53 of file SelectableImpl.cc.

References cand, and inst.

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

Definition at line 56 of file SelectableImpl.cc.

References cand, and inst.

bool zypp::ui::StatusHelper::setInstall ResStatus::TransactByValue  by_r  )  const [inline]
 

Todo:
fix it, handle avaialable list

Definition at line 63 of file SelectableImpl.cc.

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

bool zypp::ui::StatusHelper::setDelete ResStatus::TransactByValue  by_r  )  const [inline]
 

Definition at line 77 of file SelectableImpl.cc.

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

bool zypp::ui::StatusHelper::unset ResStatus::TransactByValue  by_r  )  const [inline]
 

Definition at line 89 of file SelectableImpl.cc.

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

bool zypp::ui::StatusHelper::setProtected ResStatus::TransactByValue  by_r  )  const [inline]
 

Definition at line 102 of file SelectableImpl.cc.

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

bool zypp::ui::StatusHelper::setTaboo ResStatus::TransactByValue  by_r  )  const [inline]
 

Definition at line 111 of file SelectableImpl.cc.

References cand, zypp::ResStatus::setLock(), zypp::ResStatus::setTransact(), and zypp::PoolItem_Ref::status().


Member Data Documentation

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

Definition at line 122 of file SelectableImpl.cc.

PoolItem zypp::ui::StatusHelper::inst
 

Definition at line 123 of file SelectableImpl.cc.

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

PoolItem zypp::ui::StatusHelper::cand
 

Definition at line 124 of file SelectableImpl.cc.

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


The documentation for this struct was generated from the following file:
Generated on Thu Jul 6 00:07:35 2006 for zypp by  doxygen 1.4.6