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;
189 {
return ! (lhs==rhs); }
193 {
return ! (lhs==rhs); }
197 {
return ! (lhs==rhs); }
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.
void restoreState() const
friend struct PoolItemSaver
ResObject::constPtr resolvable() const
Returns the ResObject::constPtr.
bool operator!=(const PoolItem &lhs, const ResObject::constPtr &rhs)
Convenience compare.
void setBuddy(const sat::Solvable &solv_r)
Buddies are set by pool::PoolImpl.
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.
static PoolItem makePoolItem(const sat::Solvable &solvable_r)
PoolItem generator for pool::PoolImpl.
PoolItem()
Default ctor for use in std::container.
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
Wrapper for const correct access via Smart pointer types.
Solvable to PoolItem transform functor.
PoolItem operator()(const sat::Solvable &solv_r) const
Base class for creating Solvable based types.
Solvable satSolvable() const