libzypp
13.10.6
|
A problem solution action that injects an artificial "provides" to the pool to satisfy open requirements or remove the conflict of concerning resolvable. More...
#include <SolutionAction.h>
Public Member Functions | |
InjectSolutionAction (PoolItem item, const InjectSolutionKind &kind) | |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Overload to realize std::ostream & operator<<. More... | |
const PoolItem | item () const |
virtual bool | execute (Resolver &resolver) const |
Execute this action. More... | |
Public Member Functions inherited from zypp::solver::detail::SolutionAction | |
virtual | ~SolutionAction () |
Public Member Functions inherited from zypp::base::ReferenceCounted | |
ReferenceCounted () | |
Default ctor. More... | |
ReferenceCounted (const ReferenceCounted &rhs) | |
Copy ctor. More... | |
virtual | ~ReferenceCounted () |
Dtor. More... | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
Assignment. More... | |
unsigned | refCount () const |
Return reference counter value. More... | |
void | ref () const |
Add a reference. More... | |
void | unref () const |
Release a reference. More... | |
Protected Attributes | |
PoolItem | _item |
const InjectSolutionKind | _kind |
Friends | |
std::ostream & | operator<< (std::ostream &str, const InjectSolutionAction &action) |
Additional Inherited Members | |
Static Public Member Functions inherited from zypp::base::ReferenceCounted | |
static void | add_ref (const ReferenceCounted *ptr_r) |
Called by zypp::intrusive_ptr to add a reference. More... | |
static void | release (const ReferenceCounted *ptr_r) |
Called by zypp::intrusive_ptr to add a reference. More... | |
Protected Member Functions inherited from zypp::solver::detail::SolutionAction | |
SolutionAction () | |
Protected Member Functions inherited from zypp::base::ReferenceCounted | |
virtual void | ref_to (unsigned) const |
Trigger derived classes after refCount was increased. More... | |
virtual void | unref_to (unsigned) const |
Trigger derived classes after refCount was decreased. More... | |
Related Functions inherited from zypp::base::ReferenceCounted | |
void | intrusive_ptr_add_ref (const ReferenceCounted *ptr_r) |
void | intrusive_ptr_release (const ReferenceCounted *ptr_r) |
std::ostream & | operator<< (std::ostream &str, const ReferenceCounted &obj) |
A problem solution action that injects an artificial "provides" to the pool to satisfy open requirements or remove the conflict of concerning resolvable.
This is typically used by "ignore" (user override) solutions.
Definition at line 144 of file SolutionAction.h.
|
inline |
Definition at line 148 of file SolutionAction.h.
|
virtual |
Overload to realize std::ostream & operator<<.
Reimplemented from zypp::solver::detail::SolutionAction.
Definition at line 102 of file SolutionAction.cc.
|
inline |
Definition at line 160 of file SolutionAction.h.
|
virtual |
Execute this action.
Returns 'true' on success, 'false' on error.
Implements zypp::solver::detail::SolutionAction.
Definition at line 180 of file SolutionAction.cc.
|
friend |
Definition at line 156 of file SolutionAction.h.
|
protected |
Definition at line 166 of file SolutionAction.h.
|
protected |
Definition at line 167 of file SolutionAction.h.