14#include <zypp/base/String.h>
48 if ( str_r && str_r[0] && str_r[1] && str_r[2] )
54 #define OUTS(K,S) if ( !::strncmp( str_r, ResKind::K.c_str(), S ) && str_r[S] == ':' ) return ResKind::K
const char * c_str() const
static const ResKind srcpackage
static const ResKind application
static const ResKind pattern
static const ResKind product
static const ResKind patch
static ResKind explicitBuiltin(const char *str_r)
Return the builtin kind if str_r explicitly prefixed.
static const ResKind nokind
Value representing nokind ("")
static const ResKind package
static std::string satIdent(const ResKind &refers_r, const std::string &name_r)
Return libsolv identifier for name.
std::string form(const char *format,...) __attribute__((format(printf
Printf style construction of std::string.
Easy-to use interface to the ZYPP dependency resolver.
static const ResKind kind
Defined in ResKind.cc.