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 ); }
Rel(for_use_in_switch op_r)
Ctor to initialize the relational operator contants.
unsigned bits() const
Enumarator values suitable for libsolv.
const char * c_str() const
bool operator==(const Rel &lhs, const Rel &rhs)
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.
for_use_in_switch _op
The operator.
for_use_in_switch
Enumarators provided only for use inSwitch statement.
std::ostream & operator<<(std::ostream &str, const Rel &obj)
for_use_in_switch inSwitch() const
Enumarator provided for use in switch statement.
Rel(unsigned bits_r)
Ctor from bits.
bool operator!=(const Rel &lhs, const Rel &rhs)
bool parseFrom(const std::string &strval_r)
Assign from string IFF it contains a legal value.