#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.
| typedef HalCap zypp::capability::HalCap::Self |
| zypp::capability::HalCap::HalCap | ( | const Resolvable::Kind & | refers_r, | |
| const std::string & | name_r | |||
| ) | [inline] |
| zypp::capability::HalCap::HalCap | ( | const Resolvable::Kind & | refers_r, | |
| const std::string & | name_r, | |||
| Rel | op_r, | |||
| const std::string & | value_r | |||
| ) | [inline] |
| const CapabilityImpl::Kind & zypp::capability::HalCap::kind | ( | ) | const [virtual] |
Query target::Hal.
Definition at line 27 of file HalCap.cc.
References evaluate(), zypp::CapMatch::irrelevant, isEvalCmd(), and zypp::capability::CapabilityImpl::sameKindAndRefers().
| std::string zypp::capability::HalCap::encode | ( | ) | const [virtual] |
hal(name) [op value]
Implements zypp::capability::CapabilityImpl.
Definition at line 40 of file HalCap.cc.
References _name, _op, _value, zypp::Rel::ANY, and zypp::Rel::asString().
| std::string zypp::capability::HalCap::index | ( | ) | const [virtual] |
| bool zypp::capability::HalCap::isEvalCmd | ( | ) | const [private] |
| bool zypp::capability::HalCap::evaluate | ( | ) | const [private] |
std::string zypp::capability::HalCap::_name [private] |
Rel zypp::capability::HalCap::_op [private] |
std::string zypp::capability::HalCap::_value [private] |
1.5.0