libzypp  13.10.6
zypp::solver::detail::TransactionSolutionAction Class Reference

#include <SolutionAction.h>

Inheritance diagram for zypp::solver::detail::TransactionSolutionAction:
zypp::solver::detail::SolutionAction zypp::base::ReferenceCounted

Public Member Functions

 TransactionSolutionAction (PoolItem item, TransactionKind action)
 
 TransactionSolutionAction (Capability capability, TransactionKind action)
 
 TransactionSolutionAction (SolverQueueItem_Ptr item, TransactionKind action)
 
 TransactionSolutionAction (TransactionKind action)
 
virtual std::ostream & dumpOn (std::ostream &str) const
 Overload to realize std::ostream & operator<<. More...
 
const PoolItem item () const
 
const Capability capability () const
 
TransactionKind action () 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...
 
ReferenceCountedoperator= (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
 
Capability _capability
 
SolverQueueItem_Ptr _solverQueueItem
 
const TransactionKind _action
 

Friends

std::ostream & operator<< (std::ostream &str, const TransactionSolutionAction &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...
 

Detailed Description

Definition at line 80 of file SolutionAction.h.

Constructor & Destructor Documentation

zypp::solver::detail::TransactionSolutionAction::TransactionSolutionAction ( PoolItem  item,
TransactionKind  action 
)
inline

Definition at line 83 of file SolutionAction.h.

zypp::solver::detail::TransactionSolutionAction::TransactionSolutionAction ( Capability  capability,
TransactionKind  action 
)
inline

Definition at line 88 of file SolutionAction.h.

zypp::solver::detail::TransactionSolutionAction::TransactionSolutionAction ( SolverQueueItem_Ptr  item,
TransactionKind  action 
)
inline

Definition at line 94 of file SolutionAction.h.

zypp::solver::detail::TransactionSolutionAction::TransactionSolutionAction ( TransactionKind  action)
inline

Definition at line 99 of file SolutionAction.h.

Member Function Documentation

ostream & zypp::solver::detail::TransactionSolutionAction::dumpOn ( std::ostream &  str) const
virtual

Overload to realize std::ostream & operator<<.

Reimplemented from zypp::solver::detail::SolutionAction.

Definition at line 60 of file SolutionAction.cc.

const PoolItem zypp::solver::detail::TransactionSolutionAction::item ( ) const
inline

Definition at line 110 of file SolutionAction.h.

const Capability zypp::solver::detail::TransactionSolutionAction::capability ( ) const
inline

Definition at line 111 of file SolutionAction.h.

TransactionKind zypp::solver::detail::TransactionSolutionAction::action ( ) const
inline

Definition at line 112 of file SolutionAction.h.

bool zypp::solver::detail::TransactionSolutionAction::execute ( Resolver resolver) const
virtual

Execute this action.

Returns 'true' on success, 'false' on error.

Implements zypp::solver::detail::SolutionAction.

Definition at line 128 of file SolutionAction.cc.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const TransactionSolutionAction action 
)
friend

Definition at line 105 of file SolutionAction.h.

Member Data Documentation

PoolItem zypp::solver::detail::TransactionSolutionAction::_item
protected

Definition at line 119 of file SolutionAction.h.

Capability zypp::solver::detail::TransactionSolutionAction::_capability
protected

Definition at line 120 of file SolutionAction.h.

SolverQueueItem_Ptr zypp::solver::detail::TransactionSolutionAction::_solverQueueItem
protected

Definition at line 121 of file SolutionAction.h.

const TransactionKind zypp::solver::detail::TransactionSolutionAction::_action
protected

Definition at line 123 of file SolutionAction.h.


The documentation for this class was generated from the following files: