12 #ifndef ZYPP_POOLITEM_H 13 #define ZYPP_POOLITEM_H 86 bool isUndetermined()
const;
91 bool isRelevant()
const;
94 bool isSatisfied()
const;
97 bool isBroken()
const;
102 bool isNeeded()
const;
105 bool isUnwanted()
const;
132 {
return resolvable(); }
136 {
return resolvable(); }
140 explicit operator bool()
const 141 {
return bool(resolvable()); }
160 void saveState()
const;
161 void restoreState()
const;
162 bool sameState()
const;
185 {
return ! (lhs==rhs); }
189 {
return ! (lhs==rhs); }
193 {
return ! (lhs==rhs); }
248 #endif // ZYPP_POOLITEM_H A Solvable object within the sat Pool.
std::ostream & operator<<(std::ostream &str, const PoolStats &obj)
bool sameNVRA(const PoolItem &lhs, const PoolItem &rhs)
bool operator==(const ResObject::constPtr &lhs, const PoolItem &rhs)
bool identical(const PoolItem &lhs, const PoolItem &rhs)
bool identical(const PoolItem &lhs, sat::Solvable rhs)
PoolItem operator()(const sat::Solvable &solv_r) const
String related utilities and Regular expression matching.
TraitsType::constPtrType constPtr
static const Solvable noSolvable
Represents no Solvable.
ResObject::constPtr resolvable() const
Returns the ResObject::constPtr.
bool operator!=(const PoolItem &lhs, const ResObject::constPtr &rhs)
ResObject::constPtr operator->() const
Forward -> access to ResObject.
bool sameNVRA(const PoolItem &lhs, sat::Solvable rhs)
bool operator==(const PoolItem &lhs, const PoolItem &rhs)
sat::Solvable satSolvable() const
Return the corresponding sat::Solvable.
bool sameNVRA(Solvable rhs) const
Test for same name-version-release.arch.
Reference to a PoolItem connecting ResObject and ResStatus.
bool operator!=(const PoolItem &lhs, const PoolItem &rhs)
bool operator==(const PoolItem &lhs, const ResObject::constPtr &rhs)
bool identical(sat::Solvable lhs, const PoolItem &rhs)
bool sameNVRA(sat::Solvable lhs, const PoolItem &rhs)
bool operator!=(const ResObject::constPtr &lhs, const PoolItem &rhs)
RW_pointer< Impl > _pimpl
Pointer to implementation.
Easy-to use interface to the ZYPP dependency resolver.
Solvable to PoolItem transform functor.
bool identical(Solvable rhs) const
Test whether two Solvables have the same content.