14#include <zypp/base/String.h>
41 slv_r.ident().c_str(),
42 slv_r.edition().version().c_str(),
43 slv_r.edition().release().c_str(),
45 slv_r.repository().alias().c_str() );
63 if (
rdelim == std::string::npos )
72 if (
delim == std::string::npos )
80 if (
delim == std::string::npos )
87 if (
delim == std::string::npos )
101 if (
solv.repository() == repo &&
solv.arch() == arch &&
solv.edition() == ed )
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Edition represents [epoch:]version[-release]
Access to the sat-pools string space.
std::string getIdFor(sat::Solvable slv_r) const
Solvable to InstanceId string.
PoolItem findPoolItem(const std::string &str_r) const
InstanceId string to PoolItem.
bool isSystemId(const std::string &str_r) const
Quick test whether the InstanceId string would refer to a system (installed) Solvable.
Combining sat::Solvable and ResStatus.
static const std::string & systemRepoAlias()
Reserved system repository alias @System .
static const ResKind srcpackage
static ResPool instance()
Singleton ctor.
byIdent_iterator byIdentBegin(const ByIdent &ident_r) const
byIdent_iterator byIdentEnd(const ByIdent &ident_r) const
static Pool instance()
Singleton ctor.
Helper that splits an identifier into kind and name or vice versa.
A Solvable object within the sat Pool.
bool hasSuffix(const C_Str &str_r, const C_Str &suffix_r)
Return whether str_r has suffix suffix_r.
bool hasPrefix(const C_Str &str_r, const C_Str &prefix_r)
Return whether str_r has prefix prefix_r.
std::string form(const char *format,...) __attribute__((format(printf
Printf style construction of std::string.
Easy-to use interface to the ZYPP dependency resolver.
#define for_(IT, BEG, END)
Convenient for-loops using iterator.