zypp::range_detail Namespace Reference


Functions

bool overlaps (Rel lhs, Rel rhs, int cmp)
 Compute Range overlaps.

Function Documentation

bool zypp::range_detail::overlaps ( Rel  lhs,
Rel  rhs,
int  cmp 
)

Compute Range overlaps.

Takes the lhs and rhs operator and the result of comparing lhs and rhs (-1,0,1).

Definition at line 30 of file Range.cc.

References zypp::Rel::ANY, zypp::Rel::EQ, zypp::Rel::GE, zypp::Rel::GT, zypp::Rel::LE, zypp::Rel::LT, zypp::Rel::NE, and zypp::Rel::NONE.


doxygen