12 #include <zypp/base/Logger.h> 13 #include <zypp/base/String.h> 14 #include <zypp/base/Exception.h> 26 #define OUTS(V) case ResolverFocus::V: return #V; break 34 std::string ret {
str::Str() <<
"ResolverFocus(" <<
static_cast<int>(val_r) <<
")" };
35 WAR <<
"asString: dubious " << ret << endl;
43 #define OUTS(V) if ( ::strcasecmp( val_r.c_str(), #V ) == 0 ) { ret_r = ResolverFocus::V; return true; } 71 WAR <<
"fromString: unknown ResolverFocus '" << val_r <<
"'" << endl;
std::string asString(const Patch::Category &obj)
Focus on updating requested packages and their dependencies as much as possible.
ResolverFocus
The resolver's general attitude.
Request the standard behavior (as defined in zypp.conf or 'Job')
Convenient building of std::string via std::ostringstream Basically a std::ostringstream autoconverti...
Focus on applying as little changes to the installed packages as needed.
bool fromString(const std::string &val_r, ResolverFocus &ret_r)
Easy-to use interface to the ZYPP dependency resolver.
Focus on installing the best version of the requested packages.