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() )
87 bool isUndetermined()
const;
92 bool isRelevant()
const;
95 bool isSatisfied()
const;
98 bool isBroken()
const;
103 bool isNeeded()
const;
106 bool isUnwanted()
const;
133 {
return resolvable(); }
137 {
return resolvable(); }
158 void saveState()
const;
159 void restoreState()
const;
160 bool sameState()
const;
184 {
return ! (lhs==rhs); }
188 {
return ! (lhs==rhs); }
192 {
return ! (lhs==rhs); }
208 #endif // ZYPP_POOLITEM_H A Solvable object within the sat Pool.
std::ostream & operator<<(std::ostream &str, const PoolStats &obj)
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.
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 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.