#include <CapabilityImpl.h>
Inheritance diagram for zypp::capability::CapabilityImpl:

Public Types | |
| typedef CapabilityImpl | Self |
| typedef CapabilityImpl_Ptr | Ptr |
| typedef CapabilityImpl_constPtr | constPtr |
| typedef CapabilityTraits::KindType | Kind |
Public Member Functions | |
| virtual const Kind & | kind () const =0 |
| Kind of capabiliy. | |
| const Resolvable::Kind & | refers () const |
Kind of Resolvable this refers to. | |
| virtual bool | relevant () const |
| Relevant per default. | |
| virtual CapMatch | matches (const constPtr &rhs) const =0 |
| Return whether the Capabilities match. | |
| virtual std::string | encode () const =0 |
| The string representation that enables CapFactory to recreate this capability. | |
| virtual std::string | asString () const |
| More or less human readable representation as string. | |
| virtual std::string | index () const |
| virtual Rel | op () const |
| virtual Edition | edition () const |
Static Public Member Functions | |
| static SplitInfo | getSplitInfo (const Capability &cap) |
| Solver hack. | |
| static constPtr | backdoor (const Capability &cap) |
| Access to Capability details. | |
Protected Member Functions | |
| CapabilityImpl (const Resolvable::Kind &refers_r) | |
Ctor taking the kind of Resolvable this refers to. | |
| bool | sameKind (const constPtr &rhs) const |
| bool | sameRefers (const constPtr &rhs) const |
| bool | sameKindAndRefers (const constPtr &rhs) const |
| virtual std::ostream & | dumpOn (std::ostream &str) const |
| Helper for stream output. | |
Private Member Functions | |
| virtual bool | capImplOrderLess (const constPtr &rhs) const |
| Helper for CapImplOrder to define an order relation. | |
Private Attributes | |
| Resolvable::Kind | _refers |
Kind of Resolvable this refers to. | |
Friends | |
| struct | CapImplOrder |
Classes | |
| struct | SplitInfo |
| Solver hack. More... | |
Definition at line 36 of file CapabilityImpl.h.
|
|
Reimplemented in zypp::capability::FileCap, zypp::capability::HalCap, zypp::capability::ModaliasCap, zypp::capability::NamedCap, zypp::capability::NullCap, and zypp::capability::SplitCap. Definition at line 39 of file CapabilityImpl.h. |
|
|
Definition at line 40 of file CapabilityImpl.h. |
|
|
Definition at line 41 of file CapabilityImpl.h. |
|
|
Definition at line 43 of file CapabilityImpl.h. |
|
|
Ctor taking the kind of Resolvable
Definition at line 31 of file CapabilityImpl.cc. |
|
|
Kind of capabiliy.
Implemented in zypp::capability::FileCap, zypp::capability::HalCap, zypp::capability::ModaliasCap, zypp::capability::NamedCap, zypp::capability::NullCap, and zypp::capability::SplitCap. Referenced by dumpOn(). |
|
|
Kind of Resolvable
Definition at line 50 of file CapabilityImpl.h. Referenced by dumpOn(). |
|
|
Relevant per default.
Reimplemented in zypp::capability::NullCap, and zypp::capability::SplitCap. Definition at line 54 of file CapabilityImpl.h. |
|
|
Return whether the Capabilities match.
|
|
|
The string representation that enables CapFactory to recreate this capability.
Implemented in zypp::capability::FileCap, zypp::capability::HalCap, zypp::capability::ModaliasCap, zypp::capability::NamedCap, zypp::capability::NullCap, zypp::capability::SplitCap, and zypp::capability::VersionedCap. Referenced by capImplOrderLess(). |
|
|
More or less human readable representation as string. Suitable for displaying it at the UI. Defaults to encode. Definition at line 72 of file CapabilityImpl.h. References zypp::url::encode(). Referenced by dumpOn(). |
|
|
Reimplemented in zypp::capability::HalCap, zypp::capability::ModaliasCap, and zypp::capability::VersionedCap. Definition at line 80 of file CapabilityImpl.h. References zypp::url::encode(). |
|
|
Reimplemented in zypp::capability::VersionedCap. Definition at line 83 of file CapabilityImpl.h. References zypp::Rel::NONE. |
|
|
Reimplemented in zypp::capability::VersionedCap. Definition at line 86 of file CapabilityImpl.h. References zypp::Edition::noedition. |
|
|
Solver hack.
Definition at line 38 of file SplitCap.cc. References zypp::Capability::_pimpl, zypp::RW_pointer< _D, _Traits >::getPtr(), zypp::capability::CapabilityImpl::SplitInfo::name, and zypp::capability::CapabilityImpl::SplitInfo::path. |
|
|
Access to Capability details.
Definition at line 100 of file CapabilityImpl.h. References zypp::Capability::_pimpl, and zypp::RW_pointer< _D, _Traits >::getPtr(). Referenced by zypp::capability::asKind(). |
|
|
Definition at line 108 of file CapabilityImpl.h. |
|
|
Definition at line 111 of file CapabilityImpl.h. |
|
|
Definition at line 114 of file CapabilityImpl.h. Referenced by zypp::capability::NamedCap::matches(), zypp::capability::ModaliasCap::matches(), zypp::capability::HalCap::matches(), and zypp::capability::FileCap::matches(). |
|
|
Helper for stream output.
Reimplemented from zypp::base::ReferenceCounted. Definition at line 50 of file CapabilityImpl.cc. References asString(), kind(), and refers(). |
|
|
Helper for CapImplOrder to define an order relation.
Definition at line 40 of file CapabilityImpl.cc. References encode(). |
|
|
Definition at line 126 of file CapabilityImpl.h. |
|
|
Kind of Resolvable
Definition at line 123 of file CapabilityImpl.h. |
1.4.6