34 static const char archsep =
'.';
38 return str <<
"<NoCap>";
52 return str <<
" " << obj.
op() <<
" " << obj.
ed();
77 return str <<
"<UnknownCap(" << obj.
lhs() <<
" " << obj.
capRel() <<
" " << obj.
rhs() <<
")>";
89 return str <<
"UnknownCap";
Helper providing more detailed information about a Capability.
CapRel
Enum values corresponding with libsolv defines.
@ REL_NONE
Not an expression.
@ CAP_ARCH
Used internally.
sat::detail::IdType id() const
Expert backdoor.
const char * c_str() const
Conversion to const char *.
detail::CPool * getPool() const
Explicit accessor for the raw sat-pool.
static StringPool & instance()
Access the global StringPool instance.
String related utilities and Regular expression matching.
std::string numstring(char n, int w=0)
const char * capRel2Str(int op_r)
Convert a relation operator to its string representation.
void cap2str(std::string &outs_r, CPool *pool_r, IdType id_r, int parop_r)
Shared logic to convert a sat ID into a human readable string.