libzypp  11.13.5
zypp::solver::detail::SolverQueueItemLock Class Reference

#include <SolverQueueItemLock.h>

Inheritance diagram for zypp::solver::detail::SolverQueueItemLock:

List of all members.

Public Member Functions

 SolverQueueItemLock (const ResPool &pool, const PoolItem &item, bool soft=false)
virtual ~SolverQueueItemLock ()
virtual std::ostream & dumpOn (std::ostream &str) const
 Overload to realize std::ostream & operator<<.
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.
 ReferenceCounted (const ReferenceCounted &rhs)
 Copy ctor.
virtual ~ReferenceCounted ()
 Dtor.
ReferenceCountedoperator= (const ReferenceCounted &)
 Assignment.
unsigned refCount () const
 Return reference counter value.
void ref () const
 Add a reference.
void unref () const
 Release a reference.

Private Attributes

PoolItem _item
bool _soft

Friends

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

Additional Inherited Members

- 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.
virtual void unref_to (unsigned) const
 Trigger derived classes after refCount was decreased.

Detailed Description

Definition at line 44 of file SolverQueueItemLock.h.


Constructor & Destructor Documentation

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

Definition at line 55 of file SolverQueueItemLock.cc.

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

Definition at line 64 of file SolverQueueItemLock.cc.


Member Function Documentation

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

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

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

Definition at line 45 of file SolverQueueItemLock.cc.

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

Definition at line 65 of file SolverQueueItemLock.h.

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

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

Definition at line 70 of file SolverQueueItemLock.cc.

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

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

Definition at line 96 of file SolverQueueItemLock.cc.

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

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

Definition at line 106 of file SolverQueueItemLock.cc.


Friends And Related Function Documentation

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

Definition at line 60 of file SolverQueueItemLock.h.


Member Data Documentation

PoolItem zypp::solver::detail::SolverQueueItemLock::_item
private

Definition at line 48 of file SolverQueueItemLock.h.

bool zypp::solver::detail::SolverQueueItemLock::_soft
private

Definition at line 49 of file SolverQueueItemLock.h.


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