12 #ifndef ZYPP_POOLITEM_H 13 #define ZYPP_POOLITEM_H 61 template <
class Derived>
62 explicit PoolItem(
const SolvableType<Derived> & solvable_r )
63 :
PoolItem( solvable_r.satSolvable() )
94 bool isUndetermined()
const;
99 bool isRelevant()
const;
102 bool isSatisfied()
const;
105 bool isBroken()
const;
110 bool isNeeded()
const;
113 bool isUnwanted()
const;
139 {
return resolvable(); }
143 {
return resolvable(); }
164 void saveState()
const;
165 void restoreState()
const;
166 bool sameState()
const;
189 {
return ! (lhs==rhs); }
193 {
return ! (lhs==rhs); }
197 {
return ! (lhs==rhs); }
213 #endif // ZYPP_POOLITEM_H A Solvable object within the sat Pool.
PoolItem(const SolvableType< Derived > &solvable_r)
Ctor looking up the sat::Solvable in the ResPool.
bool operator==(const ResObject::constPtr &lhs, const PoolItem &rhs)
PoolItem operator()(const sat::Solvable &solv_r) const
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
ResObject::constPtr operator->() const
Forward -> access to ResObject.
ResObject::constPtr resolvable() const
Returns the ResObject::constPtr.
static const Solvable noSolvable
Represents no Solvable.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
TraitsType::constPtrType constPtr
bool operator!=(const PoolItem &lhs, const ResObject::constPtr &rhs)
bool operator==(const PoolItem &lhs, const PoolItem &rhs)
Combining sat::Solvable and ResStatus.
bool operator!=(const PoolItem &lhs, const PoolItem &rhs)
bool operator==(const PoolItem &lhs, const ResObject::constPtr &rhs)
Base class for creating Solvable based types.
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.