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

#include <SolverQueueItemUpdate.h>

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

Public Member Functions

 SolverQueueItemUpdate (const ResPool &pool, const PoolItem &item, bool soft=false)
 
virtual ~SolverQueueItemUpdate ()
 
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

PoolItem _item
 
bool _soft
 

Friends

std::ostream & operator<< (std::ostream &str, const SolverQueueItemUpdate &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 44 of file SolverQueueItemUpdate.h.

Constructor & Destructor Documentation

zypp::solver::detail::SolverQueueItemUpdate::SolverQueueItemUpdate ( const ResPool pool,
const PoolItem item,
bool  soft = false 
)

Definition at line 55 of file SolverQueueItemUpdate.cc.

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

Definition at line 64 of file SolverQueueItemUpdate.cc.

Member Function Documentation

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

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

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

Definition at line 45 of file SolverQueueItemUpdate.cc.

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

Definition at line 65 of file SolverQueueItemUpdate.h.

bool zypp::solver::detail::SolverQueueItemUpdate::addRule ( _Queue &  q)
virtual

Implements zypp::solver::detail::SolverQueueItem.

Definition at line 70 of file SolverQueueItemUpdate.cc.

SolverQueueItem_Ptr zypp::solver::detail::SolverQueueItemUpdate::copy ( void  ) const
virtual

Implements zypp::solver::detail::SolverQueueItem.

Definition at line 84 of file SolverQueueItemUpdate.cc.

int zypp::solver::detail::SolverQueueItemUpdate::cmp ( SolverQueueItem_constPtr  item) const
virtual

Implements zypp::solver::detail::SolverQueueItem.

Definition at line 94 of file SolverQueueItemUpdate.cc.

Friends And Related Function Documentation

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

Definition at line 60 of file SolverQueueItemUpdate.h.

Member Data Documentation

PoolItem zypp::solver::detail::SolverQueueItemUpdate::_item
private

Definition at line 48 of file SolverQueueItemUpdate.h.

bool zypp::solver::detail::SolverQueueItemUpdate::_soft
private

Definition at line 49 of file SolverQueueItemUpdate.h.


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