12 #ifndef ZYPP_POOLITEM_H
13 #define ZYPP_POOLITEM_H
140 explicit operator bool()
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.
PoolItem()
Default ctor for use in std::container.
bool sameNVRA(const PoolItem &lhs, const PoolItem &rhs)
bool operator==(const ResObject::constPtr &lhs, const PoolItem &rhs)
ResStatus & statusReset() const
Reset status.
bool identical(const PoolItem &lhs, const PoolItem &rhs)
bool identical(const PoolItem &lhs, sat::Solvable rhs)
PoolItem operator()(const sat::Solvable &solv_r) const
TraitsType::constPtrType constPtr
static const Solvable noSolvable
Represents no Solvable.
bool isUndetermined() const
No validation is performed for packages.
ResObject::constPtr resolvable() const
Returns the ResObject::constPtr.
std::ostream & operator<<(std::ostream &str, const Exception &obj)
ResStatus & status() const
Returns the current status.
static PoolItem makePoolItem(const sat::Solvable &solvable_r)
PoolItem generator for pool::PoolImpl.
bool isRelevant() const
Returns true if the solvable is relevant which means e.g.
bool isNeeded() const
This includes unlocked broken patches, as well as those already selected to be installed (otherwise c...
bool operator!=(const PoolItem &lhs, const ResObject::constPtr &rhs)
void restoreState() const
ResObject::constPtr operator->() const
Forward -> access to ResObject.
bool isBroken() const
Whether a relevant items requirements are broken.
friend std::ostream & operator<<(std::ostream &str, const PoolItem &obj)
sat::Solvable buddy() const
Return the buddy we share our status object with.
bool sameNVRA(const PoolItem &lhs, sat::Solvable rhs)
bool operator==(const PoolItem &lhs, const PoolItem &rhs)
void setBuddy(sat::Solvable solv_r)
Buddies are set by pool::PoolImpl.
Wrapper for const correct access via Smart pointer types.
sat::Solvable satSolvable() const
Return the corresponding sat::Solvable.
bool isSatisfied() const
Whether a relevant items requirements are met.
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)
ResPool pool() const
Return the ResPool the item belongs to.
bool operator!=(const ResObject::constPtr &lhs, const PoolItem &rhs)
RW_pointer< Impl > _pimpl
Pointer to implementation.
Solvable to PoolItem transform functor.
bool isUnwanted() const
Broken (needed) but locked patches.
bool identical(Solvable rhs) const
Test whether two Solvables have the same content.