Go to the documentation of this file.
123 && ( !
status().isBySolver()
139 static shared_ptr<Impl> _nullimpl(
new Impl );
161 if ( myBuddy.
_pimpl->_buddy )
163 ERR << *
this <<
" would be buddy2 in " << myBuddy << endl;
168 DBG << *
this <<
" has buddy " << myBuddy << endl;
181 : _pimpl(
ResPool::instance().find( solvable_r )._pimpl )
185 : _pimpl(
ResPool::instance().find( resolvable_r )._pimpl )
189 : _pimpl( implptr_r )
static PoolItem makePoolItem(const sat::Solvable &solvable_r)
PoolItem generator for pool::PoolImpl.
ResObject::constPtr _resolvable
Combining sat::Solvable and ResStatus.
bool isToBeInstalled() const
void restoreState() const
A Solvable object within the sat Pool.
IdType id() const
Expert backdoor.
bool isRelevant() const
Returns true if the solvable is relevant which means e.g.
ResObject::constPtr resolvable() const
ResPool pool() const
Return the ResPool the item belongs to.
Solvable satSolvable() const
Return the corresponding sat::Solvable.
bool isNonRelevant() const
void setBuddy(const sat::Solvable &solv_r)
TransactValue getTransactValue() const
ResStatus & status() const
bool isNeeded() const
This includes unlocked broken patches, as well as those already selected to be installed (otherwise c...
static ResPool instance()
Singleton ctor.
ResStatus & statusReset() const
bool resetTransact(TransactByValue causer_r)
Not the same as setTransact( false ).
bool isUnwanted() const
Broken (needed) but locked patches.
TraitsType::constPtrType constPtr
static const Solvable noSolvable
Represents no Solvable.
ResObject::Ptr makeResObject(const sat::Solvable &solvable_r)
Create ResObject from sat::Solvable.
RW_pointer< Impl > _pimpl
Pointer to implementation.
Impl(ResObject::constPtr res_r, const ResStatus &status_r)
Easy-to use interface to the ZYPP dependency resolver.
PoolItem()
Default ctor for use in std::container.
bool setLock(bool toLock_r, TransactByValue causer_r)
Apply a lock (prevent transaction).
static shared_ptr< Impl > nullimpl()
Offer default Impl.
bool isLicenceConfirmed() const
bool isSystem() const
Return whether this Solvable belongs to the system repo.
DefaultIntegral< sat::detail::IdType, sat::detail::noId > _buddy
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.
sat::Solvable buddy() const
bool isUndetermined() const
std::ostream & operator<<(std::ostream &str, const Exception &obj)
ResStatus & status() const
Returns the current status.
bool isUndetermined() const
bool isSatisfied() const
Whether a relevant items requirements are met.
std::ostream & operator<<(std::ostream &str, const PoolItem::Impl &obj)
Stream output.
bool isBroken() const
Whether a relevant items requirements are broken.
String related utilities and Regular expression matching.
ResObject::constPtr resolvable() const
Returns the ResObject::constPtr.
bool isUndetermined() const
No validation is performed for packages.
void restoreState() const
ResStatus & statusReset() const
Reset status.