libzypp
17.35.16
|
Tri state Capability match result. More...
#include <zypp/CapMatch.h>
Public Member Functions | |
CapMatch () | |
CapMatch (bool val_r) | |
Static Public Attributes | |
static const CapMatch | yes |
static const CapMatch | no |
static const CapMatch | irrelevant |
Private Types | |
enum | Result { NOMATCH, MATCH, IRRELEVANT } |
Private Attributes | |
Result | _result |
Friends | |
bool | operator== (const CapMatch &lhs, const CapMatch &rhs) |
bool | operator!= (const CapMatch &lhs, const CapMatch &rhs) |
CapMatch | operator! (const CapMatch &lhs) |
CapMatch | operator && (const CapMatch &lhs, const CapMatch &rhs) |
CapMatch | operator|| (const CapMatch &lhs, const CapMatch &rhs) |
std::ostream & | operator<< (std::ostream &str, const CapMatch &obj) |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &str, const CapMatch &obj) ZYPP_API |
Tri state Capability match result.
CapMatch::irrelevant denotes a result value that should be ignored. Therfore it behaves neutral when used in ! && ||
expressions.
Definition at line 38 of file CapMatch.h.
|
private |
Enumerator | |
---|---|
NOMATCH | |
MATCH | |
IRRELEVANT |
Definition at line 40 of file CapMatch.h.
|
inline |
Definition at line 44 of file CapMatch.h.
|
inline |
Definition at line 48 of file CapMatch.h.
Definition at line 56 of file CapMatch.h.
Definition at line 59 of file CapMatch.h.
Definition at line 62 of file CapMatch.h.
Definition at line 69 of file CapMatch.h.
Definition at line 79 of file CapMatch.h.
|
friend |
Definition at line 32 of file CapMatch.cc.
|
related |
Stream output
Definition at line 32 of file CapMatch.cc.
|
static |
Definition at line 52 of file CapMatch.h.
|
static |
Definition at line 53 of file CapMatch.h.
|
static |
Definition at line 54 of file CapMatch.h.
|
private |
Definition at line 92 of file CapMatch.h.