Resolvable kinds.
More...
#include <zypp/ResKind.h>
Resolvable kinds.
A lowercased string and used as identification. Comparison against string values is always case insensitive.
Definition at line 32 of file ResKind.h.
◆ ResKind() [1/5]
zypp::ResKind::ResKind |
( |
| ) |
|
|
inline |
◆ ResKind() [2/5]
Ctor taking kind as string.
Definition at line 66 of file ResKind.h.
◆ ResKind() [3/5]
zypp::ResKind::ResKind |
( |
const IdString & | idstr_r | ) |
|
|
inlineexplicit |
◆ ResKind() [4/5]
zypp::ResKind::ResKind |
( |
const std::string & | str_r | ) |
|
|
inlineexplicit |
◆ ResKind() [5/5]
zypp::ResKind::ResKind |
( |
const char * | cstr_r | ) |
|
|
inlineexplicit |
◆ explicitBuiltin() [1/3]
ResKind zypp::ResKind::explicitBuiltin |
( |
const char * | str_r | ) |
|
|
static |
Return the builtin kind if str_r explicitly prefixed.
str_r must start with a builtin kind followed by a '
:'. If no builtin kind is detected, nokind is returned, which usually indicates a package or srcpackage.
Definition at line 46 of file ResKind.cc.
◆ explicitBuiltin() [2/3]
ResKind zypp::ResKind::explicitBuiltin |
( |
const std::string & | str_r | ) |
|
|
inlinestatic |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 55 of file ResKind.h.
◆ explicitBuiltin() [3/3]
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 58 of file ResKind.h.
◆ satIdent() [1/2]
std::string zypp::ResKind::satIdent |
( |
const ResKind & | refers_r, |
|
|
const std::string & | name_r ) |
|
static |
Return libsolv identifier for name.
Libsolv combines the objects kind and name in a single identifier "pattern:kde_multimedia"
, except for packages and source packes. They are not prefixed by any kind string.
Definition at line 68 of file ResKind.cc.
◆ satIdent() [2/2]
std::string zypp::ResKind::satIdent |
( |
const std::string & | name_r | ) |
const |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 79 of file ResKind.h.
◆ _doCompare()
int zypp::ResKind::_doCompare |
( |
const char * | lhs, |
|
|
const char * | rhs ) |
|
inlinestaticprivate |
◆ IdStringType< ResKind >
◆ dumpAsXmlOn()
std::ostream & dumpAsXmlOn |
( |
std::ostream & | str, |
|
|
const ResKind & | obj ) |
|
related |
◆ nokind
const ResKind zypp::ResKind::nokind |
|
static |
Value representing nokind
("")
Definition at line 38 of file ResKind.h.
◆ package
const ResKind zypp::ResKind::package |
|
static |
◆ patch
◆ pattern
const ResKind zypp::ResKind::pattern |
|
static |
◆ product
const ResKind zypp::ResKind::product |
|
static |
◆ srcpackage
const ResKind zypp::ResKind::srcpackage |
|
static |
◆ application
const ResKind zypp::ResKind::application |
|
static |
◆ _str
The documentation for this class was generated from the following files: