#include <HalCap.h>
Inheritance diagram for zypp::capability::HalCap:
Public Types | |
typedef HalCap | Self |
Public Member Functions | |
HalCap (const Resolvable::Kind &refers_r, const std::string &name_r) | |
Ctor. | |
HalCap (const Resolvable::Kind &refers_r, const std::string &name_r, Rel op_r, const std::string &value_r) | |
Ctor. | |
virtual const Kind & | kind () const |
Kind of capabiliy. | |
virtual CapMatch | matches (const constPtr &rhs) const |
Query target::Hal. | |
virtual std::string | encode () const |
hal(name) [op value] | |
virtual std::string | index () const |
hal(name) | |
Private Member Functions | |
bool | isEvalCmd () const |
Empty HalCap hal() . | |
bool | evaluate () const |
Query target::Hal. | |
Private Attributes | |
std::string | _name |
Rel | _op |
std::string | _value |
CapMatch::irrelevant
, if either both sides are evaluate commands, or both are not.Otherwise the result of the query to target::hal is returned. Either from lhs or rhs, dependent on which one is the evaluate command.
Definition at line 41 of file HalCap.h.
|
Reimplemented from zypp::capability::CapabilityImpl. |
|
Ctor.
|
|
Ctor.
|
|
Kind of capabiliy.
Implements zypp::capability::CapabilityImpl. |
|
Query target::Hal.
Definition at line 27 of file HalCap.cc. References evaluate(), zypp::CapMatch::irrelevant, isEvalCmd(), and zypp::capability::CapabilityImpl::sameKindAndRefers(). |
|
Implements zypp::capability::CapabilityImpl. Definition at line 40 of file HalCap.cc. References _name, _op, _value, zypp::Rel::ANY, and zypp::Rel::asString(). |
|
Reimplemented from zypp::capability::CapabilityImpl. |
|
Empty HalCap
Definition at line 60 of file HalCap.cc. References _name. Referenced by matches(). |
|
Query target::Hal.
Definition at line 63 of file HalCap.cc. References _name, _op, _value, and zypp::target::hal::Hal::instance(). Referenced by matches(). |
|
Definition at line 86 of file HalCap.h. Referenced by encode(), evaluate(), and isEvalCmd(). |
|
Definition at line 87 of file HalCap.h. Referenced by encode(), and evaluate(). |
|
Definition at line 88 of file HalCap.h. Referenced by encode(), and evaluate(). |