12#ifndef ZYPP_POOLITEM_H
13#define ZYPP_POOLITEM_H
61 template <
class Derived>
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); }
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Combining sat::Solvable and ResStatus.
bool operator==(const PoolItem &lhs, const ResObject::constPtr &rhs)
Convenience compare.
bool operator!=(const ResObject::constPtr &lhs, const PoolItem &rhs)
Convenience compare.
ResObject::constPtr resolvable() const
Returns the ResObject::constPtr.
bool operator!=(const PoolItem &lhs, const ResObject::constPtr &rhs)
Convenience compare.
PoolItem(const SolvableType< Derived > &solvable_r)
Ctor looking up the sat::Solvable in the ResPool.
bool operator==(const PoolItem &lhs, const PoolItem &rhs)
Required to disambiguate vs.
RW_pointer< Impl > _pimpl
Pointer to implementation.
ResObject::constPtr operator->() const
Forward -> access to ResObject.
bool operator==(const ResObject::constPtr &lhs, const PoolItem &rhs)
Convenience compare.
bool operator!=(const PoolItem &lhs, const PoolItem &rhs)
Required to disambiguate vs.
TraitsType::constPtrType constPtr
A Solvable object within the sat Pool.
static const Solvable noSolvable
Represents no Solvable.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Solvable to PoolItem transform functor.
PoolItem operator()(const sat::Solvable &solv_r) const
Base class for creating Solvable based types.