libzypp 17.31.23
|
Resolvable kinds. More...
#include <ResKind.h>
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | dumpAsXmlOn (std::ostream &str, const ResKind &obj) |
XML output. | |
![]() | |
std::ostream & | operator<< (std::ostream &str, const IdStringType< ResKind > &obj) |
Stream output. | |
bool | operator== (const IdStringType< ResKind > &lhs, const IdStringType< ResKind > &rhs) |
Equal. | |
bool | operator!= (const IdStringType< ResKind > &lhs, const IdStringType< ResKind > &rhs) |
NotEqual. | |
bool | operator< (const IdStringType< ResKind > &lhs, const IdStringType< ResKind > &rhs) |
Less. | |
bool | operator<= (const IdStringType< ResKind > &lhs, const IdStringType< ResKind > &rhs) |
LessEqual. | |
bool | operator> (const IdStringType< ResKind > &lhs, const IdStringType< ResKind > &rhs) |
Greater. | |
bool | operator>= (const IdStringType< ResKind > &lhs, const IdStringType< ResKind > &rhs) |
GreaterEqual. | |
Some builtin ResKind constants. | |
static const ResKind | nokind |
Value representing nokind ("" ) | |
static const ResKind | package |
static const ResKind | patch |
static const ResKind | pattern |
static const ResKind | product |
static const ResKind | srcpackage |
static const ResKind | application |
class | IdStringType< ResKind > |
IdString | _str |
static ResKind | explicitBuiltin (const char *str_r) |
Return the builtin kind if str_r explicitly prefixed. | |
static ResKind | explicitBuiltin (const std::string &str_r) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static ResKind | explicitBuiltin (const IdString &str_r) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static std::string | satIdent (const ResKind &refers_r, const std::string &name_r) |
Return libsolv identifier for name. | |
ResKind () | |
Default ctor: nokind. | |
ResKind (sat::detail::IdType id_r) | |
Ctor taking kind as string. | |
ResKind (const IdString &idstr_r) | |
ResKind (const std::string &str_r) | |
ResKind (const char *cstr_r) | |
std::string | satIdent (const std::string &name_r) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static int | _doCompare (const char *lhs, const char *rhs) |
Additional Inherited Members | |
![]() | |
typedef IdString::IdType | IdType |
![]() | |
IdString | idStr () const |
bool | empty () const |
unsigned | size () const |
const char * | c_str () const |
std::string | asString () const |
IdType | id () const |
operator bool () const | |
Evaluate in a boolean context ( ! empty() ) . | |
operator IdString () const | |
Explicit conversion to IdString. | |
operator std::string () const | |
Explicit conversion to std::string. | |
int | compare (const ResKind &rhs) const |
int | compare (const IdStringType &rhs) const |
int | compare (const IdString &rhs) const |
int | compare (const std::string &rhs) const |
int | compare (const char *rhs) const |
![]() | |
static int | compare (const ResKind &lhs, const ResKind &rhs) |
static int | compare (const ResKind &lhs, const IdString &rhs) |
static int | compare (const ResKind &lhs, const std::string &rhs) |
static int | compare (const ResKind &lhs, const char *rhs) |
static int | compare (const IdString &lhs, const ResKind &rhs) |
static int | compare (const IdString &lhs, const IdString &rhs) |
static int | compare (const IdString &lhs, const std::string &rhs) |
static int | compare (const IdString &lhs, const char *rhs) |
static int | compare (const std::string &lhs, const ResKind &rhs) |
static int | compare (const std::string &lhs, const IdString &rhs) |
static int | compare (const std::string &lhs, const std::string &rhs) |
static int | compare (const std::string &lhs, const char *rhs) |
static int | compare (const char *lhs, const ResKind &rhs) |
static int | compare (const char *lhs, const IdString &rhs) |
static int | compare (const char *lhs, const std::string &rhs) |
static int | compare (const char *lhs, const char *rhs) |
![]() | |
IdStringType () | |
IdStringType (const IdStringType &) | |
void | operator= (const IdStringType &) |
~IdStringType () | |
![]() | |
static PoolImpl & | myPool () |
Resolvable kinds.
A lowercased string and used as identification. Comparison against string values is always case insensitive.
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
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.
|
inlinestatic |
|
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.
|
inline |
|
inlinestaticprivate |
|
friend |
|
related |
|
static |