libzypp
13.10.6
|
#include <SolverQueueItem.h>
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... | |
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 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... | |
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) |
Definition at line 67 of file SolverQueueItem.h.
|
protected |
Definition at line 73 of file SolverQueueItem.cc.
|
virtual |
Definition at line 80 of file SolverQueueItem.cc.
|
virtual |
Overload to realize std::ostream & operator<<.
Reimplemented from zypp::base::ReferenceCounted.
Reimplemented in zypp::solver::detail::SolverQueueItemInstallOneOf, zypp::solver::detail::SolverQueueItemDelete, zypp::solver::detail::SolverQueueItemInstall, zypp::solver::detail::SolverQueueItemLock, and zypp::solver::detail::SolverQueueItemUpdate.
Definition at line 45 of file SolverQueueItem.cc.
|
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.
|
inline |
Definition at line 98 of file SolverQueueItem.h.
|
inline |
Definition at line 99 of file SolverQueueItem.h.
|
inline |
Definition at line 100 of file SolverQueueItem.h.
|
inline |
Definition at line 101 of file SolverQueueItem.h.
|
inline |
Definition at line 102 of file SolverQueueItem.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 108 of file SolverQueueItem.h.
|
friend |
Definition at line 86 of file SolverQueueItem.h.
|
friend |
|
private |
Definition at line 71 of file SolverQueueItem.h.
|
private |
Definition at line 72 of file SolverQueueItem.h.