#include <Resolvable.h>
Inheritance diagram for zypp::Resolvable:
Public Types | |
typedef Resolvable | Self |
typedef ResTraits< Self > | TraitsType |
typedef TraitsType::KindType | Kind |
typedef TraitsType::PtrType | Ptr |
typedef TraitsType::constPtrType | constPtr |
Public Member Functions | |
const Kind & | kind () const |
const std::string & | name () const |
const Edition & | edition () const |
const Arch & | arch () const |
Dependencies. | |
const CapSet & | dep (Dep which_r) const |
Select by Dep. | |
const Dependencies & | deps () const |
All dependencies. | |
Deprecated. | |
void | injectProvides (const Capability &cap_r) |
void | injectRequires (const Capability &cap_r) |
Protected Member Functions | |
Resolvable (const Kind &kind_r, const NVRAD &nvrad_r) | |
Ctor. | |
virtual | ~Resolvable () |
Dtor. | |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Helper for stream output. | |
Private Attributes | |
RW_pointer< Impl > | _pimpl |
Pointer to implementation. | |
Related Functions | |
(Note that these are not member functions.) | |
template<class _Res> | |
bool | isKind (const Resolvable::constPtr &p) |
Test whether a Resolvable::Ptr is of a certain Kind. | |
int | compareByN (const Resolvable::constPtr &lhs, const Resolvable::constPtr &rhs) |
int | compareByNVR (const Resolvable::constPtr &lhs, const Resolvable::constPtr &rhs) |
int | compareByNVRA (const Resolvable::constPtr &lhs, const Resolvable::constPtr &rhs) |
Classes | |
struct | Impl |
Implementation of Resovable. More... |
provides
name = edition
prerequires
is a subset of requires
Definition at line 43 of file Resolvable.h.
|
Reimplemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::ResObject, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject. Definition at line 46 of file Resolvable.h. |
|
Reimplemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::ResObject, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject. Definition at line 47 of file Resolvable.h. |
|
Definition at line 48 of file Resolvable.h. |
|
Reimplemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::ResObject, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject. Definition at line 49 of file Resolvable.h. |
|
Reimplemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::ResObject, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject. Definition at line 50 of file Resolvable.h. |
|
Ctor.
Definition at line 31 of file Resolvable.cc. |
|
Dtor.
Definition at line 41 of file Resolvable.cc. |
|
Definition at line 53 of file Resolvable.cc. References _pimpl. |
|
Definition at line 56 of file Resolvable.cc. References _pimpl. |
|
Definition at line 59 of file Resolvable.cc. References _pimpl. |
|
Definition at line 62 of file Resolvable.cc. References _pimpl. |
|
Select by Dep.
Definition at line 65 of file Resolvable.cc. References _pimpl. |
|
All dependencies.
Definition at line 68 of file Resolvable.cc. References _pimpl. |
|
Definition at line 72 of file Resolvable.cc. References _pimpl. |
|
Definition at line 75 of file Resolvable.cc. References _pimpl. |
|
Helper for stream output.
Reimplemented from zypp::base::ReferenceCounted. Reimplemented in zypp::ResObject. Definition at line 50 of file Resolvable.cc. References _pimpl. Referenced by zypp::ResObject::dumpOn(). |
|
Test whether a Resolvable::Ptr is of a certain Kind.
isKind<Package>(resPtr); Definition at line 102 of file Resolvable.h. |
|
Compare Resolvable::constPtr according to kind and name. Definition at line 137 of file Resolvable.h. |
|
Compare Resolvable::constPtr according to kind, name and edition(compare!). Definition at line 153 of file Resolvable.h. |
|
Compare Resolvable::constPtr according to kind, name, edition(compare!) and arch. Definition at line 171 of file Resolvable.h. |
|
Pointer to implementation.
Definition at line 87 of file Resolvable.h. Referenced by arch(), dep(), deps(), dumpOn(), edition(), injectProvides(), injectRequires(), kind(), and name(). |