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

#include <SolverQueueItemInstallOneOf.h>

Inheritance diagram for zypp::solver::detail::SolverQueueItemInstallOneOf:
zypp::solver::detail::SolverQueueItem zypp::base::ReferenceCounted

Public Types

typedef std::list< PoolItemPoolItemList
 

Public Member Functions

 SolverQueueItemInstallOneOf (const ResPool &pool, const PoolItemList &itemList, bool soft=false)
 
virtual ~SolverQueueItemInstallOneOf ()
 
virtual std::ostream & dumpOn (std::ostream &str) const
 Overload to realize std::ostream & operator<<. More...
 
bool isSoft (void) const
 
virtual bool addRule (_Queue &q)
 
virtual SolverQueueItem_Ptr copy (void) const
 
virtual int cmp (SolverQueueItem_constPtr item) const
 
- Public Member Functions inherited from zypp::solver::detail::SolverQueueItem
virtual ~SolverQueueItem ()
 
ResPool pool (void) const
 
void copy (const SolverQueueItem *from)
 
bool isDelete (void) const
 
bool isInstall (void) const
 
bool isUpdate (void) const
 
bool isLock (void) const
 
bool isInstallOneOf (void) const
 
int compare (SolverQueueItem_constPtr item) const
 
- 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...
 

Private Attributes

PoolItemList _oneOfList
 
bool _soft
 

Friends

std::ostream & operator<< (std::ostream &str, const SolverQueueItemInstallOneOf &obj)
 

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::SolverQueueItem
 SolverQueueItem (SolverQueueItemType type, const ResPool &pool)
 
- 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 43 of file SolverQueueItemInstallOneOf.h.

Member Typedef Documentation

Constructor & Destructor Documentation

zypp::solver::detail::SolverQueueItemInstallOneOf::SolverQueueItemInstallOneOf ( const ResPool pool,
const PoolItemList itemList,
bool  soft = false 
)

Definition at line 60 of file SolverQueueItemInstallOneOf.cc.

zypp::solver::detail::SolverQueueItemInstallOneOf::~SolverQueueItemInstallOneOf ( )
virtual

Definition at line 69 of file SolverQueueItemInstallOneOf.cc.

Member Function Documentation

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

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

Reimplemented from zypp::solver::detail::SolverQueueItem.

Definition at line 46 of file SolverQueueItemInstallOneOf.cc.

bool zypp::solver::detail::SolverQueueItemInstallOneOf::isSoft ( void  ) const
inline

Definition at line 67 of file SolverQueueItemInstallOneOf.h.

bool zypp::solver::detail::SolverQueueItemInstallOneOf::addRule ( _Queue &  q)
virtual
SolverQueueItem_Ptr zypp::solver::detail::SolverQueueItemInstallOneOf::copy ( void  ) const
virtual
int zypp::solver::detail::SolverQueueItemInstallOneOf::cmp ( SolverQueueItem_constPtr  item) const
virtual

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const SolverQueueItemInstallOneOf obj 
)
friend

Definition at line 62 of file SolverQueueItemInstallOneOf.h.

Member Data Documentation

PoolItemList zypp::solver::detail::SolverQueueItemInstallOneOf::_oneOfList
private

Definition at line 50 of file SolverQueueItemInstallOneOf.h.

bool zypp::solver::detail::SolverQueueItemInstallOneOf::_soft
private

Definition at line 51 of file SolverQueueItemInstallOneOf.h.


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