104 str << (
obj.isInstalled() ?
"I" :
"U");
106 str << (
obj.isBroken() ?
"B" :
107 (
obj.isSatisfied() ?
"S" :
108 (
obj.isNonRelevant() ?
"N" :
"_") ) );
110 str << (
obj.transacts () ?
"T"
111 : (
obj.isLocked() ?
"L" :
"_") );
113 if (
obj.isBySolver())
str <<
"s";
114 else if (
obj.isByApplLow())
str <<
"l";
115 else if (
obj.isByApplHigh())
str <<
"h";
116 else if (
obj.isByUser())
str <<
"u";
118 str << (
obj.isToBeUninstalledDueToObsolete() ?
"O" :
119 (
obj.isToBeUninstalledDueToUpgrade() ?
"U" :
120 (
obj.isToBeInstalledSoft() ?
"S" :
"_" ) ) );
122 str << (
obj.isRecommended() ?
"r" :
"" );
123 str << (
obj.isSuggested() ?
"s" :
"" );
124 str << (
obj.isOrphaned() ?
"o" :
"" );
125 str << (
obj.isUnneeded() ?
"u" :
"" );
131#define OUTS(X) case ResStatus::X: return str << #X; break
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
static const ResStatus toBeInstalled
static const ResStatus toBeUninstalledDueToObsolete
static ValidateValue stringToValidateValue(const std::string &str_r)
ValidateValue from string used in the history file.
static const ResStatus toBeUninstalledDueToUpgrade
static const ResStatus toBeUninstalled
std::string validateValueAsString() const
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)