libzypp  13.10.6
zypp::solver::detail::SolverQueueItem Class Referenceabstract

#include <SolverQueueItem.h>

Inheritance diagram for zypp::solver::detail::SolverQueueItem:
zypp::base::ReferenceCounted zypp::solver::detail::SolverQueueItemDelete zypp::solver::detail::SolverQueueItemInstall zypp::solver::detail::SolverQueueItemInstallOneOf zypp::solver::detail::SolverQueueItemLock zypp::solver::detail::SolverQueueItemUpdate

Public Member Functions

virtual ~SolverQueueItem ()
 
virtual std::ostream & dumpOn (std::ostream &str) const
 Overload to realize std::ostream & operator<<. More...
 
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
 
virtual SolverQueueItem_Ptr copy (void) const =0
 
virtual bool addRule (_Queue &q)=0
 
virtual int cmp (SolverQueueItem_constPtr item) const =0
 
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...
 

Protected Member Functions

 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...
 

Private Attributes

SolverQueueItemType _type
 
ResPool _pool
 

Friends

std::ostream & operator<< (std::ostream &str, const SolverQueueItem &obj)
 
std::ostream & operator<< (std::ostream &str, const SolverQueueItemList &itemlist)
 

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...
 

Detailed Description

Definition at line 67 of file SolverQueueItem.h.

Constructor & Destructor Documentation

zypp::solver::detail::SolverQueueItem::SolverQueueItem ( SolverQueueItemType  type,
const ResPool pool 
)
protected

Definition at line 73 of file SolverQueueItem.cc.

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

Definition at line 80 of file SolverQueueItem.cc.

Member Function Documentation

std::ostream & zypp::solver::detail::SolverQueueItem::dumpOn ( std::ostream &  str) const
virtual
ResPool zypp::solver::detail::SolverQueueItem::pool ( void  ) const
inline

Definition at line 92 of file SolverQueueItem.h.

void zypp::solver::detail::SolverQueueItem::copy ( const SolverQueueItem from)

Definition at line 87 of file SolverQueueItem.cc.

bool zypp::solver::detail::SolverQueueItem::isDelete ( void  ) const
inline

Definition at line 98 of file SolverQueueItem.h.

bool zypp::solver::detail::SolverQueueItem::isInstall ( void  ) const
inline

Definition at line 99 of file SolverQueueItem.h.

bool zypp::solver::detail::SolverQueueItem::isUpdate ( void  ) const
inline

Definition at line 100 of file SolverQueueItem.h.

bool zypp::solver::detail::SolverQueueItem::isLock ( void  ) const
inline

Definition at line 101 of file SolverQueueItem.h.

bool zypp::solver::detail::SolverQueueItem::isInstallOneOf ( void  ) const
inline

Definition at line 102 of file SolverQueueItem.h.

int zypp::solver::detail::SolverQueueItem::compare ( SolverQueueItem_constPtr  item) const
inline

Definition at line 108 of file SolverQueueItem.h.

Friends And Related Function Documentation

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

Definition at line 86 of file SolverQueueItem.h.

std::ostream& operator<< ( std::ostream &  str,
const SolverQueueItemList itemlist 
)
friend

Member Data Documentation

SolverQueueItemType zypp::solver::detail::SolverQueueItem::_type
private

Definition at line 71 of file SolverQueueItem.h.

ResPool zypp::solver::detail::SolverQueueItem::_pool
private

Definition at line 72 of file SolverQueueItem.h.


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