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;
 
 
Easy-to use interface to the ZYPP dependency resolver.
bool fromString(const std::string &val_r, ResolverFocus &ret_r)
ResolverFocus
The resolver's general attitude.
@ Update
Focus on updating requested packages and their dependencies as much as possible.
@ Default
Request the standard behavior (as defined in zypp.conf or 'Job')
@ Installed
Focus on applying as little changes to the installed packages as needed.
@ Job
Focus on installing the best version of the requested packages.
std::string asString(const Patch::Category &obj)
Convenient building of std::string via std::ostringstream Basically a std::ostringstream autoconverti...