Helper providing more detailed information about a Capability.
More...
#include <Capability.h>
|
enum | Kind { NOCAP = 0x00
, NAMED = 0x01
, VERSIONED = 0x02
, EXPRESSION = 0x04
} |
|
enum | CapRel {
REL_NONE = 0
, CAP_AND = 16
, CAP_OR = 17
, CAP_COND = 22
,
CAP_UNLESS = 29
, CAP_ELSE = 26
, CAP_WITH = 18
, CAP_WITHOUT = 28
,
CAP_NAMESPACE = 19
, CAP_ARCH = 20
} |
| Enum values corresponding with libsolv defines. More...
|
|
Helper providing more detailed information about a Capability.
Capabilities are classified to be either SIMPLE:
with
op := <|<=|=|>=|>|!=
or formed by some EXPRESSION:
( left_cap
op right_cap )
with
op := and|or|
if|unless|
else|with|without
Definition at line 309 of file Capability.h.
◆ Kind
Enumerator |
---|
NOCAP | |
NAMED | |
VERSIONED | |
EXPRESSION | |
Definition at line 312 of file Capability.h.
◆ CapRel
Enum values corresponding with libsolv defines.
- Note
- MPL check in PoolImpl.cc
Enumerator |
---|
REL_NONE | Not an expression.
|
CAP_AND | and
|
CAP_OR | or
|
CAP_COND | if
|
CAP_UNLESS | unless
|
CAP_ELSE | else
|
CAP_WITH | with
|
CAP_WITHOUT | without
|
CAP_NAMESPACE | |
CAP_ARCH | Used internally.
|
Definition at line 323 of file Capability.h.
◆ CapDetail() [1/3]
zypp::CapDetail::CapDetail |
( |
| ) |
|
|
inline |
◆ CapDetail() [2/3]
zypp::CapDetail::CapDetail |
( |
const Capability & |
cap_r | ) |
|
|
inlineexplicit |
◆ CapDetail() [3/3]
◆ kind()
Kind zypp::CapDetail::kind |
( |
| ) |
const |
|
inline |
◆ isNull()
bool zypp::CapDetail::isNull |
( |
| ) |
const |
|
inline |
◆ isNamed()
bool zypp::CapDetail::isNamed |
( |
| ) |
const |
|
inline |
◆ isVersioned()
bool zypp::CapDetail::isVersioned |
( |
| ) |
const |
|
inline |
◆ isSimple()
bool zypp::CapDetail::isSimple |
( |
| ) |
const |
|
inline |
◆ isExpression()
bool zypp::CapDetail::isExpression |
( |
| ) |
const |
|
inline |
◆ hasArch()
bool zypp::CapDetail::hasArch |
( |
| ) |
const |
|
inline |
◆ arch()
IdString zypp::CapDetail::arch |
( |
| ) |
const |
|
inline |
◆ name()
IdString zypp::CapDetail::name |
( |
| ) |
const |
|
inline |
◆ op()
Rel zypp::CapDetail::op |
( |
| ) |
const |
|
inline |
◆ ed()
Edition zypp::CapDetail::ed |
( |
| ) |
const |
|
inline |
◆ lhs()
◆ capRel()
CapRel zypp::CapDetail::capRel |
( |
| ) |
const |
|
inline |
◆ rhs()
◆ _init()
void zypp::CapDetail::_init |
( |
| ) |
|
|
private |
◆ operator<<() [1/3]
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const CapDetail & |
obj |
|
) |
| |
|
related |
◆ operator<<() [2/3]
◆ operator<<() [3/3]
◆ _kind
Kind zypp::CapDetail::_kind |
|
private |
◆ _lhs
◆ _rhs
◆ _flag
unsigned zypp::CapDetail::_flag |
|
private |
◆ _archIfSimple
The documentation for this class was generated from the following files: