92 Rel(
const std::string & strval_r );
97 Rel(
const std::string & strval_r,
const Rel & default_r );
102 bool parseFrom(
const std::string & strval_r );
111 static bool isRel(
unsigned bits_r )
112 {
return (bits_r &
ANY_e) == bits_r; }
117 const std::string &
asString()
const;
170 {
return ! ( lhs == rhs ); }
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
for_use_in_switch inSwitch() const
Enumarator provided for use in switch statement.
bool parseFrom(const std::string &strval_r)
Assign from string IFF it contains a legal value.
const char * c_str() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Rel(for_use_in_switch op_r)
Ctor to initialize the relational operator contants.
Rel(unsigned bits_r)
Ctor from bits.
std::ostream & operator<<(std::ostream &str, const Rel &obj)
Stream output.
bool operator!=(const Rel &lhs, const Rel &rhs)
bool operator==(const Rel &lhs, const Rel &rhs)
for_use_in_switch
Enumarators provided only for use inSwitch statement.
unsigned bits() const
Enumarator values suitable for libsolv.
for_use_in_switch _op
The operator.
static bool isRel(unsigned bits_r)
Test whether bits_r is a valid Rel (no extra bits set).
const std::string & asString() const
String representation of relational operator.