|
libzypp
17.38.7
|
Helper providing more detailed information about a Capability. More...
#include <zypp/ng/sat/capability.h>
Public Types | |
| enum | Kind { NOCAP = 0x00, NAMED = 0x01, VERSIONED = 0x02, EXPRESSION = 0x04 } |
| enum | CapRel { REL_NONE = 0, CAP_AND = Capability::CAP_AND, CAP_OR = Capability::CAP_OR, CAP_COND = Capability::CAP_COND, CAP_UNLESS = Capability::CAP_UNLESS, CAP_ELSE = Capability::CAP_ELSE, CAP_WITH = Capability::CAP_WITH, CAP_WITHOUT = Capability::CAP_WITHOUT, CAP_NAMESPACE = Capability::CAP_NAMESPACE, CAP_ARCH = Capability::CAP_ARCH } |
| Enum values corresponding with libsolv defines. More... | |
Public Member Functions | |
| CapDetail () | |
| CapDetail (const Capability &cap_r) | |
| CapDetail (sat::detail::IdType id_r) | |
| Kind | kind () const |
| bool | isNull () const |
| bool | isNamed () const |
| bool | isVersioned () const |
| bool | isSimple () const |
| bool | isExpression () const |
Is simple: <tt>name[.arch] [op edition]</tt> | |
| bool | hasArch () const |
| IdString | arch () const |
| IdString | name () const |
| Rel | op () const |
| Edition | ed () const |
Is expression <tt>cap op cap</tt> | |
| Capability | lhs () const |
| CapRel | capRel () const |
| Capability | rhs () const |
Private Member Functions | |
| void | _init () |
Private Attributes | |
| Kind | _kind |
| sat::detail::IdType | _lhs |
| sat::detail::IdType | _rhs |
| unsigned | _flag |
| sat::detail::IdType | _archIfSimple |
Helper providing more detailed information about a Capability.
Capabilities are classified to be either SIMPLE:
or formed by some EXPRESSION:
Definition at line 338 of file capability.h.
| Enumerator | |
|---|---|
| NOCAP | |
| NAMED | |
| VERSIONED | |
| EXPRESSION | |
Definition at line 341 of file capability.h.
Enum values corresponding with libsolv defines.
| Enumerator | |
|---|---|
| REL_NONE | Not an expression. |
| CAP_AND |
|
| CAP_OR |
|
| CAP_COND |
|
| CAP_UNLESS |
|
| CAP_ELSE |
|
| CAP_WITH |
|
| CAP_WITHOUT |
|
| CAP_NAMESPACE | |
| CAP_ARCH | Used internally. |
Definition at line 352 of file capability.h.
|
inline |
Definition at line 370 of file capability.h.
|
inlineexplicit |
Definition at line 373 of file capability.h.
|
inlineexplicit |
Definition at line 376 of file capability.h.
|
inline |
Definition at line 381 of file capability.h.
|
inline |
Definition at line 382 of file capability.h.
|
inline |
Definition at line 383 of file capability.h.
|
inline |
Definition at line 384 of file capability.h.
|
inline |
Definition at line 385 of file capability.h.
|
inline |
Definition at line 386 of file capability.h.
|
inline |
Definition at line 390 of file capability.h.
|
inline |
Definition at line 391 of file capability.h.
|
inline |
Definition at line 392 of file capability.h.
|
inline |
Definition at line 393 of file capability.h.
|
inline |
Definition at line 394 of file capability.h.
|
inline |
Definition at line 399 of file capability.h.
|
inline |
Definition at line 400 of file capability.h.
|
inline |
Definition at line 401 of file capability.h.
|
private |
Definition at line 475 of file capability.cc.
|
private |
Definition at line 407 of file capability.h.
|
private |
Definition at line 408 of file capability.h.
|
private |
Definition at line 409 of file capability.h.
|
private |
Definition at line 410 of file capability.h.
|
private |
Definition at line 411 of file capability.h.