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

#include <SolverQueueItemDelete.h>

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

Public Member Functions

 SolverQueueItemDelete (const ResPool &pool, std::string name, bool soft=false)
 
virtual ~SolverQueueItemDelete ()
 
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

std::string _name
 
bool _soft
 

Friends

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

Constructor & Destructor Documentation

zypp::solver::detail::SolverQueueItemDelete::SolverQueueItemDelete ( const ResPool pool,
std::string  name,
bool  soft = false 
)

Definition at line 57 of file SolverQueueItemDelete.cc.

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

Definition at line 65 of file SolverQueueItemDelete.cc.

Member Function Documentation

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

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

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

Definition at line 47 of file SolverQueueItemDelete.cc.

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

Definition at line 66 of file SolverQueueItemDelete.h.

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

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

Definition at line 71 of file SolverQueueItemDelete.cc.

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

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

Definition at line 89 of file SolverQueueItemDelete.cc.

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

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

Definition at line 99 of file SolverQueueItemDelete.cc.

Friends And Related Function Documentation

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

Definition at line 61 of file SolverQueueItemDelete.h.

Member Data Documentation

std::string zypp::solver::detail::SolverQueueItemDelete::_name
private

Definition at line 49 of file SolverQueueItemDelete.h.

bool zypp::solver::detail::SolverQueueItemDelete::_soft
private

Definition at line 50 of file SolverQueueItemDelete.h.


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