zypp::solver::detail::ResolverInfoMisc Class Reference

#include <ResolverInfoMisc.h>

Inheritance diagram for zypp::solver::detail::ResolverInfoMisc:

zypp::solver::detail::ResolverInfoContainer zypp::solver::detail::ResolverInfo zypp::base::ReferenceCounted NonCopyable List of all members.

Public Types

enum  TriggerReason { NONE, CONFLICT, OBSOLETE, REQUIRE }

Public Member Functions

 ResolverInfoMisc (ResolverInfoType detailedtype, PoolItem_Ref affected, int priority, const Capability &capability=Capability::noCap)
virtual ~ResolverInfoMisc ()
virtual std::ostream & dumpOn (std::ostream &str) const
 Overload to realize std::ostream & operator<<.
virtual std::string message (void) const
std::string action (void) const
TriggerReason trigger (void) const
PoolItem_Ref other (void) const
const Capability other_capability (void) const
const Capability capability (void) const
virtual bool merge (ResolverInfo_Ptr to_be_merged)
virtual ResolverInfo_Ptr copy (void) const
void addAction (const std::string &action_msg)
void addTrigger (const TriggerReason &trigger)
void setOtherPoolItem (PoolItem_Ref other)
void setOtherCapability (const Capability &capability)

Private Attributes

Capability _capability
PoolItem_Ref _other_item
Capability _other_capability
std::string _action
TriggerReason _trigger

Friends

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

Detailed Description

Definition at line 48 of file ResolverInfoMisc.h.


Member Enumeration Documentation

enum zypp::solver::detail::ResolverInfoMisc::TriggerReason
 

Enumerator:
NONE 
CONFLICT 
OBSOLETE 
REQUIRE 

Definition at line 50 of file ResolverInfoMisc.h.


Constructor & Destructor Documentation

zypp::solver::detail::ResolverInfoMisc::ResolverInfoMisc ResolverInfoType  detailedtype,
PoolItem_Ref  affected,
int  priority,
const Capability capability = Capability::noCap
 

Definition at line 71 of file ResolverInfoMisc.cc.

Referenced by copy().

zypp::solver::detail::ResolverInfoMisc::~ResolverInfoMisc  )  [virtual]
 

Definition at line 79 of file ResolverInfoMisc.cc.


Member Function Documentation

std::ostream & zypp::solver::detail::ResolverInfoMisc::dumpOn std::ostream &  str  )  const [virtual]
 

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

Reimplemented from zypp::solver::detail::ResolverInfoContainer.

Definition at line 49 of file ResolverInfoMisc.cc.

References _, _action, zypp::solver::detail::ResolverInfo::dumpOn(), zypp::solver::detail::ResolverInfoContainer::itemsToString(), and message().

std::string zypp::solver::detail::ResolverInfoMisc::message void   )  const [virtual]
 

Reimplemented from zypp::solver::detail::ResolverInfo.

Definition at line 131 of file ResolverInfoMisc.cc.

References _, _capability, _other_capability, zypp::solver::detail::ResolverInfo::affected(), zypp::str::form(), other(), zypp::solver::detail::RESOLVER_INFO_TYPE_CANT_SATISFY, zypp::solver::detail::RESOLVER_INFO_TYPE_CONFLICT_CANT_INSTALL, zypp::solver::detail::RESOLVER_INFO_TYPE_CONFLICT_UNINSTALLABLE, zypp::solver::detail::RESOLVER_INFO_TYPE_ESTABLISHING, zypp::solver::detail::RESOLVER_INFO_TYPE_INCOMPLETES, zypp::solver::detail::RESOLVER_INFO_TYPE_INSTALL_PARALLEL, zypp::solver::detail::RESOLVER_INFO_TYPE_INSTALL_TO_BE_UNINSTALLED, zypp::solver::detail::RESOLVER_INFO_TYPE_INSTALL_UNNEEDED, zypp::solver::detail::RESOLVER_INFO_TYPE_INSTALLING, zypp::solver::detail::RESOLVER_INFO_TYPE_INVALID_SOLUTION, zypp::solver::detail::RESOLVER_INFO_TYPE_LOCKED_PROVIDER, zypp::solver::detail::RESOLVER_INFO_TYPE_NO_OTHER_PROVIDER, zypp::solver::detail::RESOLVER_INFO_TYPE_NO_PROVIDER, zypp::solver::detail::RESOLVER_INFO_TYPE_NO_UPGRADE, zypp::solver::detail::RESOLVER_INFO_TYPE_NOT_INSTALLABLE_PROVIDER, zypp::solver::detail::RESOLVER_INFO_TYPE_OTHER_ARCH_PROVIDER, zypp::solver::detail::RESOLVER_INFO_TYPE_PARALLEL_PROVIDER, zypp::solver::detail::RESOLVER_INFO_TYPE_REJECT_INSTALL, zypp::solver::detail::RESOLVER_INFO_TYPE_SKIPPING, zypp::solver::detail::RESOLVER_INFO_TYPE_UNINSTALL_INSTALLED, zypp::solver::detail::RESOLVER_INFO_TYPE_UNINSTALL_LOCKED, zypp::solver::detail::RESOLVER_INFO_TYPE_UNINSTALL_PROVIDER, zypp::solver::detail::RESOLVER_INFO_TYPE_UNINSTALL_TO_BE_INSTALLED, zypp::solver::detail::RESOLVER_INFO_TYPE_UNINSTALLABLE, zypp::solver::detail::RESOLVER_INFO_TYPE_UPDATING, zypp::solver::detail::ResolverInfo::toString(), zypp::solver::detail::translateResTraits(), zypp::solver::detail::ResolverInfo::type(), and WAR.

Referenced by dumpOn().

std::string zypp::solver::detail::ResolverInfoMisc::action void   )  const [inline]
 

Definition at line 83 of file ResolverInfoMisc.h.

References _action.

TriggerReason zypp::solver::detail::ResolverInfoMisc::trigger void   )  const [inline]
 

Definition at line 84 of file ResolverInfoMisc.h.

References _trigger.

PoolItem_Ref zypp::solver::detail::ResolverInfoMisc::other void   )  const [inline]
 

Definition at line 86 of file ResolverInfoMisc.h.

References _other_item.

Referenced by message(), and setOtherPoolItem().

const Capability zypp::solver::detail::ResolverInfoMisc::other_capability void   )  const [inline]
 

Definition at line 87 of file ResolverInfoMisc.h.

References _other_capability.

const Capability zypp::solver::detail::ResolverInfoMisc::capability void   )  const [inline]
 

Definition at line 88 of file ResolverInfoMisc.h.

References _capability.

Referenced by setOtherCapability().

bool zypp::solver::detail::ResolverInfoMisc::merge ResolverInfo_Ptr  to_be_merged  )  [virtual]
 

Reimplemented from zypp::solver::detail::ResolverInfo.

Definition at line 570 of file ResolverInfoMisc.cc.

References _capability, zypp::solver::detail::ResolverInfo::affected(), zypp::solver::detail::ResolverInfo::merge(), and zypp::solver::detail::ResolverInfo::type().

ResolverInfo_Ptr zypp::solver::detail::ResolverInfoMisc::copy void   )  const [virtual]
 

Reimplemented from zypp::solver::detail::ResolverInfoContainer.

Definition at line 590 of file ResolverInfoMisc.cc.

References _action, _capability, _other_capability, _other_item, _trigger, zypp::solver::detail::ResolverInfo::affected(), zypp::solver::detail::ResolverInfo::priority(), ResolverInfoMisc(), and zypp::solver::detail::ResolverInfo::type().

void zypp::solver::detail::ResolverInfoMisc::addAction const std::string &  action_msg  ) 
 

Definition at line 606 of file ResolverInfoMisc.cc.

References _action.

void zypp::solver::detail::ResolverInfoMisc::addTrigger const TriggerReason trigger  ) 
 

Definition at line 613 of file ResolverInfoMisc.cc.

References _trigger.

void zypp::solver::detail::ResolverInfoMisc::setOtherPoolItem PoolItem_Ref  other  ) 
 

Definition at line 619 of file ResolverInfoMisc.cc.

References _other_item, and other().

void zypp::solver::detail::ResolverInfoMisc::setOtherCapability const Capability capability  ) 
 

Definition at line 625 of file ResolverInfoMisc.cc.

References _other_capability, and capability().


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  str,
const ResolverInfoMisc obj
[friend]
 

Definition at line 77 of file ResolverInfoMisc.h.


Member Data Documentation

Capability zypp::solver::detail::ResolverInfoMisc::_capability [private]
 

Definition at line 61 of file ResolverInfoMisc.h.

Referenced by capability(), copy(), merge(), and message().

PoolItem_Ref zypp::solver::detail::ResolverInfoMisc::_other_item [private]
 

Definition at line 63 of file ResolverInfoMisc.h.

Referenced by copy(), other(), and setOtherPoolItem().

Capability zypp::solver::detail::ResolverInfoMisc::_other_capability [private]
 

Definition at line 64 of file ResolverInfoMisc.h.

Referenced by copy(), message(), other_capability(), and setOtherCapability().

std::string zypp::solver::detail::ResolverInfoMisc::_action [private]
 

Definition at line 66 of file ResolverInfoMisc.h.

Referenced by action(), addAction(), copy(), and dumpOn().

TriggerReason zypp::solver::detail::ResolverInfoMisc::_trigger [private]
 

Definition at line 67 of file ResolverInfoMisc.h.

Referenced by addTrigger(), copy(), and trigger().


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:07:34 2006 for zypp by  doxygen 1.4.6