zypp::ResStatus Class Reference

Status bitfield. More...

#include <ResStatus.h>

List of all members.

Public Types

Status values.
Each enum corresponds to a BitField range.

Note:
Take care that enumerator values actually fit into the corresponding field. It's not yet checked by the compiler.


enum  StateValue { UNINSTALLED = bit::RangeValue<StateField, value, INSTALLED = bit::RangeValue<StateField, value }
enum  ValidateValue {
  UNDETERMINED = bit::RangeValue<ValidateField, value, BROKEN = bit::RangeValue<ValidateField, value,
  SATISFIED = bit::RangeValue<ValidateField, value, NONRELEVANT = bit::RangeValue<ValidateField, value
}
enum  TransactValue {
  KEEP_STATE = bit::RangeValue<TransactField, value, LOCKED = bit::RangeValue<TransactField, value,
  TRANSACT = bit::RangeValue<TransactField, value
}
enum  TransactByValue {
  SOLVER = bit::RangeValue<TransactByField, value, APPL_LOW = bit::RangeValue<TransactByField, value,
  APPL_HIGH = bit::RangeValue<TransactByField, value, USER = bit::RangeValue<TransactByField, value
}
enum  DetailValue { NO_DETAIL = bit::RangeValue<TransactDetailField, value }
enum  InstallDetailValue { EXPLICIT_INSTALL = bit::RangeValue<TransactDetailField, value, SOFT_INSTALL = bit::RangeValue<TransactDetailField, value }
enum  RemoveDetailValue {
  EXPLICIT_REMOVE = bit::RangeValue<TransactDetailField, value, SOFT_REMOVE = bit::RangeValue<TransactDetailField, value,
  DUE_TO_OBSOLETE = bit::RangeValue<TransactDetailField, value, DUE_TO_UPGRADE = bit::RangeValue<TransactDetailField, value
}
enum  LicenceConfirmedValue { LICENCE_UNCONFIRMED = bit::RangeValue<LicenceConfirmedField, value, LICENCE_CONFIRMED = bit::RangeValue<LicenceConfirmedField, value }
enum  WeakValue {
  NO_WEAK = bit::RangeValue<WeakField, value, SUGGESTED = bit::RangeValue<WeakField, value,
  RECOMMENDED = bit::RangeValue<WeakField, value, ORPHANED = bit::RangeValue<WeakField, value
}
enum  UserLockQuery { USERLOCK_NOMATCH = bit::RangeValue<UserLockQueryField, value, USERLOCK_MATCH = bit::RangeValue<UserLockQueryField, value }
BitField range definitions.
Note:
Enlarge FieldType if more bit's needed. It's not yet checked by the compiler.


typedef uint16_t FieldType
typedef bit::BitField< FieldTypeBitFieldType
typedef bit::Range< FieldType, 0, 1 > StateField
typedef bit::Range< FieldType,
StateField::end, 2 > 
ValidateField
typedef bit::Range< FieldType,
ValidateField::end, 2 > 
TransactField
typedef bit::Range< FieldType,
TransactField::end, 2 > 
TransactByField
typedef bit::Range< FieldType,
TransactByField::end, 2 > 
TransactDetailField
typedef bit::Range< FieldType,
TransactDetailField::end, 1 > 
LicenceConfirmedField
typedef bit::Range< FieldType,
LicenceConfirmedField::end, 3 > 
WeakField
typedef bit::Range< FieldType,
WeakField::end, 1 > 
UserLockQueryField

Public Member Functions

 ResStatus ()
 Default ctor.
 ResStatus (bool isInstalled_r)
 Ctor setting the initial .
 ~ResStatus ()
 Dtor.
BitFieldType bitfield () const
 Debug helper returning the bitfield.
bool isLicenceConfirmed () const
void setLicenceConfirmed (bool toVal_r=true)
bool isRecommended () const
bool isSuggested () const
bool isOrphaned () const
void resetWeak ()
void setRecommended (bool toVal_r=true)
void setSuggested (bool toVal_r=true)
void setOrphaned (bool toVal_r=true)
ValidateValue validate () const
bool isUndetermined () const
bool isSatisfied () const
bool isBroken () const
bool isNonRelevant () const
bool isInstalled () const
bool isUninstalled () const
bool staysInstalled () const
bool wasInstalled () const
bool isToBeInstalled () const
bool staysUninstalled () const
bool wasUninstalled () const
bool isToBeUninstalled () const
bool isLocked () const
bool isUserLocked () const
bool isSoftLocked (TransactByValue causer_r=USER) const
bool isKept () const
bool transacts () const
TransactValue getTransactValue () const
bool onSystem () const
 True if would be on system after commit.
bool offSystem () const
 True if would be off system after commit.
bool isBySolver () const
bool isByApplLow () const
bool isByApplHigh () const
bool isByUser () const
TransactByValue getTransactByValue () const
bool setTransactByValue (TransactByValue causer)
bool isToBeUninstalledDueToObsolete () const
bool isToBeUninstalledDueToUpgrade () const
bool isToBeInstalledSoft () const
bool isToBeInstalledNotSoft () const
bool isToBeUninstalledSoft () const
bool setTransactValue (TransactValue newVal_r, TransactByValue causer_r)
 Set TransactValue.
bool maySetTransactValue (TransactValue newVal_r, TransactByValue causer_r)
bool setLock (bool toLock_r, TransactByValue causer_r)
 Apply a lock (prevent transaction).
bool maySetLock (bool to_r, TransactByValue causer_r)
bool setTransact (bool toTansact_r, TransactByValue causer_r)
 Toggle between TRANSACT and KEEP_STATE.
bool maySetTransact (bool val_r, TransactByValue causer)
bool setSoftLock (TransactByValue causer_r)
bool resetTransact (TransactByValue causer_r)
 Not the same as setTransact( false ).
bool setSoftTransact (bool toTansact_r, TransactByValue causer_r, TransactByValue causerLimit_r)
 Soft toggle between TRANSACT and KEEP_STATE.
bool setSoftTransact (bool toTansact_r, TransactByValue causer_r)
bool maySetSoftTransact (bool val_r, TransactByValue causer, TransactByValue causerLimit_r)
bool maySetSoftTransact (bool val_r, TransactByValue causer)
bool setToBeInstalled (TransactByValue causer)
bool maySetToBeInstalled (TransactByValue causer)
bool setToBeUninstalled (TransactByValue causer)
bool maySetToBeUninstalled (TransactByValue causer)
bool setToBeUninstalledDueToObsolete ()
bool setToBeUninstalledDueToUpgrade (TransactByValue causer)
bool setToBeInstalledSoft ()
bool setToBeUninstalledSoft ()
bool maySetToBeUninstalledSoft ()
bool isSoftInstall ()
bool isSoftUninstall ()
bool setSoftInstall (bool flag)
bool setSoftUninstall (bool flag)
bool setUndetermined ()
bool setSatisfied ()
bool setBroken ()
bool setNonRelevant ()
bool setStatus (ResStatus newStatus_r)

Static Public Attributes

Builtin ResStatus constants.
static const ResStatus toBeInstalled
static const ResStatus toBeUninstalled
static const ResStatus toBeUninstalledDueToUpgrade
static const ResStatus toBeUninstalledDueToObsolete

Private Member Functions

 ResStatus (StateValue s, ValidateValue v=UNDETERMINED, TransactValue t=KEEP_STATE, InstallDetailValue i=EXPLICIT_INSTALL, RemoveDetailValue r=EXPLICIT_REMOVE)
 Ctor for intialization of builtin constants.
template<class _Field >
bool fieldValueIs (FieldType val_r) const
 Return whether the corresponding Field has value val_r.
template<class _Field >
void fieldValueAssign (FieldType val_r)
 Set the corresponding Field to value val_r.
template<class _Field >
bool isGreaterThan (FieldType val_r)
 compare two values.
template<class _Field >
bool isLessThan (FieldType val_r)

Private Attributes

BitFieldType _bitfield

Friends

class resstatus::StatusBackup
std::ostream & operator<< (std::ostream &str, const ResStatus &obj)
bool operator== (const ResStatus &lhs, const ResStatus &rhs)

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, ResStatus::TransactValue obj)
std::ostream & operator<< (std::ostream &str, ResStatus::TransactByValue obj)
bool operator!= (const ResStatus &lhs, const ResStatus &rhs)

Internal hard lock maintainance

class resstatus::UserLockQueryManip
bool isUserLockQueryMatch () const
void setUserLockQueryMatch (bool match_r)


Detailed Description

Status bitfield.

Definition at line 53 of file ResStatus.h.


Member Typedef Documentation

typedef uint16_t zypp::ResStatus::FieldType

Definition at line 65 of file ResStatus.h.

Definition at line 66 of file ResStatus.h.

Definition at line 68 of file ResStatus.h.

Definition at line 69 of file ResStatus.h.

Definition at line 70 of file ResStatus.h.

Definition at line 71 of file ResStatus.h.

Definition at line 72 of file ResStatus.h.

Definition at line 73 of file ResStatus.h.

Definition at line 74 of file ResStatus.h.

Definition at line 75 of file ResStatus.h.


Member Enumeration Documentation

Enumerator:
UNINSTALLED 
value 
INSTALLED 
value 

Definition at line 88 of file ResStatus.h.

Enumerator:
UNDETERMINED 
value 
BROKEN 
value 
SATISFIED 
value 
NONRELEVANT 
value 

Definition at line 93 of file ResStatus.h.

Enumerator:
KEEP_STATE 
value 
LOCKED 
value 
TRANSACT 
value 

Definition at line 100 of file ResStatus.h.

Enumerator:
SOLVER 
value 
APPL_LOW 
value 
APPL_HIGH 
value 
USER 
value 

Definition at line 106 of file ResStatus.h.

Enumerator:
NO_DETAIL  Detail for no transact, i.e.

reset any Install/RemoveDetailValue.

value 

Definition at line 114 of file ResStatus.h.

Enumerator:
EXPLICIT_INSTALL 
value 
SOFT_INSTALL 
value 

Definition at line 119 of file ResStatus.h.

Enumerator:
EXPLICIT_REMOVE 
value 
SOFT_REMOVE 
value 
DUE_TO_OBSOLETE 
value 
DUE_TO_UPGRADE 
value 

Definition at line 124 of file ResStatus.h.

Enumerator:
LICENCE_UNCONFIRMED 
value 
LICENCE_CONFIRMED 
value 

Definition at line 132 of file ResStatus.h.

Enumerator:
NO_WEAK 
value 
SUGGESTED 
value 
RECOMMENDED 
value 
ORPHANED 
value 

Definition at line 138 of file ResStatus.h.

Enumerator:
USERLOCK_NOMATCH 
value 
USERLOCK_MATCH 
value 

Definition at line 146 of file ResStatus.h.


Constructor & Destructor Documentation

zypp::ResStatus::ResStatus (  ) 

Default ctor.

Definition at line 33 of file ResStatus.cc.

zypp::ResStatus::ResStatus ( bool  isInstalled_r  ) 

Ctor setting the initial .

Definition at line 41 of file ResStatus.cc.

zypp::ResStatus::~ResStatus (  ) 

Dtor.

Definition at line 50 of file ResStatus.cc.

zypp::ResStatus::ResStatus ( StateValue  s,
ValidateValue  v = UNDETERMINED,
TransactValue  t = KEEP_STATE,
InstallDetailValue  i = EXPLICIT_INSTALL,
RemoveDetailValue  r = EXPLICIT_REMOVE 
) [private]

Ctor for intialization of builtin constants.

Definition at line 54 of file ResStatus.cc.

References INSTALLED, and TRANSACT.


Member Function Documentation

BitFieldType zypp::ResStatus::bitfield (  )  const [inline]

Debug helper returning the bitfield.

It's save to expose the bitfield, as it can't be used to recreate a ResStatus. So it is not possible to bypass transition rules.

Definition at line 169 of file ResStatus.h.

References _bitfield.

bool zypp::ResStatus::isLicenceConfirmed (  )  const [inline]

void zypp::ResStatus::setLicenceConfirmed ( bool  toVal_r = true  )  [inline]

Definition at line 177 of file ResStatus.h.

References LICENCE_CONFIRMED, and LICENCE_UNCONFIRMED.

Referenced by zypp::ui::Selectable::Impl::setLicenceConfirmed().

bool zypp::ResStatus::isRecommended (  )  const [inline]

bool zypp::ResStatus::isSuggested (  )  const [inline]

bool zypp::ResStatus::isOrphaned (  )  const [inline]

Definition at line 187 of file ResStatus.h.

References _bitfield, ORPHANED, and zypp::bit::BitField< _IntT >::test().

Referenced by zypp::operator<<().

void zypp::ResStatus::resetWeak (  )  [inline]

Definition at line 190 of file ResStatus.h.

References NO_WEAK.

Referenced by zypp::solver::detail::SATSolutionToPool().

void zypp::ResStatus::setRecommended ( bool  toVal_r = true  )  [inline]

void zypp::ResStatus::setSuggested ( bool  toVal_r = true  )  [inline]

void zypp::ResStatus::setOrphaned ( bool  toVal_r = true  )  [inline]

ValidateValue zypp::ResStatus::validate (  )  const [inline]

Definition at line 203 of file ResStatus.h.

References _bitfield, and zypp::bit::BitField< _IntT >::value().

bool zypp::ResStatus::isUndetermined (  )  const [inline]

Definition at line 206 of file ResStatus.h.

References UNDETERMINED.

Referenced by zypp::PoolItem::Impl::isUndetermined().

bool zypp::ResStatus::isSatisfied (  )  const [inline]

bool zypp::ResStatus::isBroken (  )  const [inline]

Definition at line 212 of file ResStatus.h.

References BROKEN.

Referenced by zypp::PoolItem::Impl::isBroken(), and zypp::operator<<().

bool zypp::ResStatus::isNonRelevant (  )  const [inline]

Definition at line 215 of file ResStatus.h.

References NONRELEVANT.

Referenced by zypp::PoolItem::Impl::isRelevant(), and zypp::operator<<().

bool zypp::ResStatus::isInstalled (  )  const [inline]

bool zypp::ResStatus::isUninstalled (  )  const [inline]

bool zypp::ResStatus::staysInstalled (  )  const [inline]

Definition at line 229 of file ResStatus.h.

References isInstalled(), and transacts().

Referenced by wasInstalled().

bool zypp::ResStatus::wasInstalled (  )  const [inline]

Definition at line 232 of file ResStatus.h.

References staysInstalled().

bool zypp::ResStatus::isToBeInstalled (  )  const [inline]

bool zypp::ResStatus::staysUninstalled (  )  const [inline]

Definition at line 237 of file ResStatus.h.

References isUninstalled(), and transacts().

Referenced by wasUninstalled().

bool zypp::ResStatus::wasUninstalled (  )  const [inline]

Definition at line 240 of file ResStatus.h.

References staysUninstalled().

bool zypp::ResStatus::isToBeUninstalled (  )  const [inline]

bool zypp::ResStatus::isLocked (  )  const [inline]

bool zypp::ResStatus::isUserLocked (  )  const [inline]

Definition at line 248 of file ResStatus.h.

References isByUser(), and isLocked().

Referenced by zypp::resstatus::UserLockQueryManip::diffLock().

bool zypp::ResStatus::isSoftLocked ( TransactByValue  causer_r = USER  )  const [inline]

Definition at line 251 of file ResStatus.h.

References isKept().

bool zypp::ResStatus::isKept (  )  const [inline]

bool zypp::ResStatus::transacts (  )  const [inline]

TransactValue zypp::ResStatus::getTransactValue (  )  const [inline]

Definition at line 260 of file ResStatus.h.

References _bitfield, and zypp::bit::BitField< _IntT >::value().

Referenced by zypp::PoolItem::Impl::sameState(), and setStatus().

bool zypp::ResStatus::onSystem (  )  const [inline]

True if would be on system after commit.

Definition at line 264 of file ResStatus.h.

References isInstalled(), and transacts().

Referenced by offSystem().

bool zypp::ResStatus::offSystem (  )  const [inline]

True if would be off system after commit.

Definition at line 268 of file ResStatus.h.

References onSystem().

bool zypp::ResStatus::isBySolver (  )  const [inline]

bool zypp::ResStatus::isByApplLow (  )  const [inline]

bool zypp::ResStatus::isByApplHigh (  )  const [inline]

Definition at line 277 of file ResStatus.h.

References APPL_HIGH.

Referenced by zypp::HistoryLog::install(), zypp::operator<<(), and zypp::HistoryLog::remove().

bool zypp::ResStatus::isByUser (  )  const [inline]

TransactByValue zypp::ResStatus::getTransactByValue (  )  const [inline]

bool zypp::ResStatus::setTransactByValue ( TransactByValue  causer  )  [inline]

Definition at line 286 of file ResStatus.h.

Referenced by zypp::solver::detail::SATResolver::solving().

bool zypp::ResStatus::isToBeUninstalledDueToObsolete (  )  const [inline]

Definition at line 296 of file ResStatus.h.

References DUE_TO_OBSOLETE, and isToBeUninstalled().

Referenced by zypp::operator<<().

bool zypp::ResStatus::isToBeUninstalledDueToUpgrade (  )  const [inline]

Definition at line 299 of file ResStatus.h.

References DUE_TO_UPGRADE, and isToBeUninstalled().

Referenced by zypp::operator<<(), and zypp::solver::detail::SATSolutionToPool().

bool zypp::ResStatus::isToBeInstalledSoft (  )  const [inline]

Definition at line 302 of file ResStatus.h.

References isToBeInstalled(), and SOFT_INSTALL.

Referenced by zypp::operator<<().

bool zypp::ResStatus::isToBeInstalledNotSoft (  )  const [inline]

Definition at line 305 of file ResStatus.h.

References isToBeInstalled(), and SOFT_INSTALL.

bool zypp::ResStatus::isToBeUninstalledSoft (  )  const [inline]

Definition at line 308 of file ResStatus.h.

References isToBeUninstalled(), and SOFT_REMOVE.

bool zypp::ResStatus::isUserLockQueryMatch (  )  const [inline, private]

void zypp::ResStatus::setUserLockQueryMatch ( bool  match_r  )  [inline, private]

bool zypp::ResStatus::setTransactValue ( TransactValue  newVal_r,
TransactByValue  causer_r 
) [inline]

Set TransactValue.

Convenience to set TransactValue from enum.

Definition at line 339 of file ResStatus.h.

References KEEP_STATE, LOCKED, setLock(), setTransact(), and TRANSACT.

Referenced by maySetTransactValue(), and setStatus().

bool zypp::ResStatus::maySetTransactValue ( TransactValue  newVal_r,
TransactByValue  causer_r 
) [inline]

Definition at line 356 of file ResStatus.h.

References _bitfield, and setTransactValue().

bool zypp::ResStatus::setLock ( bool  toLock_r,
TransactByValue  causer_r 
) [inline]

bool zypp::ResStatus::maySetLock ( bool  to_r,
TransactByValue  causer_r 
) [inline]

Definition at line 401 of file ResStatus.h.

References _bitfield, and setLock().

bool zypp::ResStatus::setTransact ( bool  toTansact_r,
TransactByValue  causer_r 
) [inline]

bool zypp::ResStatus::maySetTransact ( bool  val_r,
TransactByValue  causer 
) [inline]

Definition at line 445 of file ResStatus.h.

References _bitfield, and setTransact().

Referenced by zypp::ui::Selectable::Impl::setCandidate().

bool zypp::ResStatus::setSoftLock ( TransactByValue  causer_r  )  [inline]

Definition at line 454 of file ResStatus.h.

References KEEP_STATE, and setTransact().

Referenced by zypp::pool::PoolImpl::store().

bool zypp::ResStatus::resetTransact ( TransactByValue  causer_r  )  [inline]

bool zypp::ResStatus::setSoftTransact ( bool  toTansact_r,
TransactByValue  causer_r,
TransactByValue  causerLimit_r 
) [inline]

Soft toggle between TRANSACT and KEEP_STATE.

Similar to setTransact, but leaving KEEP_STATE also requires a superior causerLimit_r. So this is a kind of soft lock.

 // SOLVER wants to set TRANSACT, iff KEEP_STATE is
 // not superior to APPL_LOW.
 setSoftTransact( true, SOLVER, APPL_LOW );

Definition at line 484 of file ResStatus.h.

References KEEP_STATE, setTransact(), and transacts().

Referenced by maySetSoftTransact(), setToBeInstalledSoft(), and setToBeUninstalledSoft().

bool zypp::ResStatus::setSoftTransact ( bool  toTansact_r,
TransactByValue  causer_r 
) [inline]

Definition at line 497 of file ResStatus.h.

References setSoftTransact().

Referenced by setSoftTransact().

bool zypp::ResStatus::maySetSoftTransact ( bool  val_r,
TransactByValue  causer,
TransactByValue  causerLimit_r 
) [inline]

Definition at line 500 of file ResStatus.h.

References _bitfield, and setSoftTransact().

bool zypp::ResStatus::maySetSoftTransact ( bool  val_r,
TransactByValue  causer 
) [inline]

Definition at line 509 of file ResStatus.h.

References maySetSoftTransact().

Referenced by maySetSoftTransact().

bool zypp::ResStatus::setToBeInstalled ( TransactByValue  causer  )  [inline]

bool zypp::ResStatus::maySetToBeInstalled ( TransactByValue  causer  )  [inline]

Definition at line 518 of file ResStatus.h.

References _bitfield, and setToBeInstalled().

bool zypp::ResStatus::setToBeUninstalled ( TransactByValue  causer  )  [inline]

bool zypp::ResStatus::maySetToBeUninstalled ( TransactByValue  causer  )  [inline]

Definition at line 532 of file ResStatus.h.

References _bitfield, and setToBeUninstalled().

bool zypp::ResStatus::setToBeUninstalledDueToObsolete (  )  [inline]

Definition at line 543 of file ResStatus.h.

References DUE_TO_OBSOLETE, setToBeUninstalled(), and SOLVER.

bool zypp::ResStatus::setToBeUninstalledDueToUpgrade ( TransactByValue  causer  )  [inline]

Definition at line 550 of file ResStatus.h.

References DUE_TO_UPGRADE, and setToBeUninstalled().

Referenced by zypp::solver::detail::SATSolutionToPool().

bool zypp::ResStatus::setToBeInstalledSoft (  )  [inline]

Definition at line 557 of file ResStatus.h.

References isInstalled(), setSoftTransact(), SOFT_INSTALL, and SOLVER.

bool zypp::ResStatus::setToBeUninstalledSoft (  )  [inline]

Definition at line 567 of file ResStatus.h.

References isInstalled(), setSoftTransact(), SOFT_REMOVE, and SOLVER.

Referenced by maySetToBeUninstalledSoft().

bool zypp::ResStatus::maySetToBeUninstalledSoft (  )  [inline]

Definition at line 577 of file ResStatus.h.

References _bitfield, and setToBeUninstalledSoft().

bool zypp::ResStatus::isSoftInstall (  )  [inline]

Definition at line 585 of file ResStatus.h.

References SOFT_INSTALL.

bool zypp::ResStatus::isSoftUninstall (  )  [inline]

Definition at line 589 of file ResStatus.h.

References SOFT_REMOVE.

bool zypp::ResStatus::setSoftInstall ( bool  flag  )  [inline]

Definition at line 593 of file ResStatus.h.

References SOFT_INSTALL.

bool zypp::ResStatus::setSoftUninstall ( bool  flag  )  [inline]

Definition at line 598 of file ResStatus.h.

References SOFT_REMOVE.

bool zypp::ResStatus::setUndetermined (  )  [inline]

Definition at line 603 of file ResStatus.h.

References UNDETERMINED.

Referenced by zypp::solver::detail::SATResolver::solving().

bool zypp::ResStatus::setSatisfied (  )  [inline]

Definition at line 609 of file ResStatus.h.

References SATISFIED.

Referenced by zypp::solver::detail::SATResolver::solving().

bool zypp::ResStatus::setBroken (  )  [inline]

Definition at line 615 of file ResStatus.h.

References BROKEN.

Referenced by zypp::solver::detail::SATResolver::solving().

bool zypp::ResStatus::setNonRelevant (  )  [inline]

Definition at line 621 of file ResStatus.h.

References NONRELEVANT.

Referenced by zypp::solver::detail::SATResolver::solving().

bool zypp::ResStatus::setStatus ( ResStatus  newStatus_r  )  [inline]

template<class _Field >
bool zypp::ResStatus::fieldValueIs ( FieldType  val_r  )  const [inline, private]

Return whether the corresponding Field has value val_r.

Definition at line 660 of file ResStatus.h.

References _bitfield, and zypp::bit::BitField< _IntT >::isEqual().

template<class _Field >
void zypp::ResStatus::fieldValueAssign ( FieldType  val_r  )  [inline, private]

Set the corresponding Field to value val_r.

Definition at line 666 of file ResStatus.h.

References _bitfield, and zypp::bit::BitField< _IntT >::assign().

template<class _Field >
bool zypp::ResStatus::isGreaterThan ( FieldType  val_r  )  [inline, private]

compare two values.

Definition at line 672 of file ResStatus.h.

References _bitfield, and zypp::bit::BitField< _IntT >::value().

template<class _Field >
bool zypp::ResStatus::isLessThan ( FieldType  val_r  )  [inline, private]

Definition at line 676 of file ResStatus.h.

References _bitfield, and zypp::bit::BitField< _IntT >::value().


Friends And Related Function Documentation

friend class resstatus::UserLockQueryManip [friend]

Definition at line 315 of file ResStatus.h.

friend class resstatus::StatusBackup [friend]

Definition at line 680 of file ResStatus.h.

std::ostream & operator<< ( std::ostream &  str,
const ResStatus obj 
) [friend]

Stream output

Definition at line 71 of file ResStatus.cc.

bool operator== ( const ResStatus lhs,
const ResStatus rhs 
) [friend]

Definition at line 695 of file ResStatus.h.

std::ostream & operator<< ( std::ostream &  str,
ResStatus::TransactValue  obj 
) [related]

Stream output

Definition at line 101 of file ResStatus.cc.

std::ostream & operator<< ( std::ostream &  str,
ResStatus::TransactByValue  obj 
) [related]

Stream output

Definition at line 112 of file ResStatus.cc.

bool operator!= ( const ResStatus lhs,
const ResStatus rhs 
) [related]

Definition at line 699 of file ResStatus.h.


Member Data Documentation

Definition at line 646 of file ResStatus.h.


The documentation for this class was generated from the following files:

doxygen