Go to the documentation of this file.
12 #ifndef ZYPP_POOLITEM_H
13 #define ZYPP_POOLITEM_H
61 template <
class Derived>
62 explicit PoolItem(
const SolvableType<Derived> & solvable_r )
184 {
return ! (lhs==rhs); }
188 {
return ! (lhs==rhs); }
192 {
return ! (lhs==rhs); }
208 #endif // ZYPP_POOLITEM_H
static PoolItem makePoolItem(const sat::Solvable &solvable_r)
PoolItem generator for pool::PoolImpl.
Combining sat::Solvable and ResStatus.
void restoreState() const
A Solvable object within the sat Pool.
PoolItem operator()(const sat::Solvable &solv_r) const
bool isRelevant() const
Returns true if the solvable is relevant which means e.g.
friend std::ostream & operator<<(std::ostream &str, const PoolItem &obj)
ResPool pool() const
Return the ResPool the item belongs to.
Solvable satSolvable() const
Return the corresponding sat::Solvable.
bool operator!=(const PoolItem &lhs, const ResObject::constPtr &rhs)
Convenience compare.
bool operator==(const PoolItem &lhs, const PoolItem &rhs)
Required to disambiguate vs.
bool isNeeded() const
This includes unlocked broken patches, as well as those already selected to be installed (otherwise c...
bool operator!=(const ResObject::constPtr &lhs, const PoolItem &rhs)
Convenience compare.
bool isUnwanted() const
Broken (needed) but locked patches.
TraitsType::constPtrType constPtr
bool operator!=(const PoolItem &lhs, const PoolItem &rhs)
Required to disambiguate vs.
static const Solvable noSolvable
Represents no Solvable.
bool operator==(const PoolItem &lhs, const ResObject::constPtr &rhs)
Convenience compare.
RW_pointer< Impl > _pimpl
Pointer to implementation.
Solvable to PoolItem transform functor.
PoolItem(const SolvableType< Derived > &solvable_r)
Ctor looking up the sat::Solvable in the ResPool.
bool operator==(const ResObject::constPtr &lhs, const PoolItem &rhs)
Convenience compare.
Easy-to use interface to the ZYPP dependency resolver.
PoolItem()
Default ctor for use in std::container.
void setBuddy(const sat::Solvable &solv_r)
Buddies are set by pool::PoolImpl.
sat::Solvable buddy() const
Return the buddy we share our status object with.
Base class for creating Solvable based types.
std::ostream & operator<<(std::ostream &str, const Exception &obj)
ResStatus & status() const
Returns the current status.
bool isSatisfied() const
Whether a relevant items requirements are met.
bool isBroken() const
Whether a relevant items requirements are broken.
ResObject::constPtr operator->() const
Forward -> access to ResObject.
String related utilities and Regular expression matching.
ResObject::constPtr resolvable() const
Returns the ResObject::constPtr.
bool isUndetermined() const
No validation is performed for packages.
ResStatus & statusReset() const
Reset status.