libzypp  13.10.6
RelCompare.h File Reference
#include <functional>
#include "zypp/Rel.h"

Go to the source code of this file.

Classes

struct  zypp::Compare< _Tp >
 General compare functor returning -1, 0, 1. More...
 
struct  zypp::CompareBy< _Tp, _Compare >
 Functor to compare two elements by Rel based on a general _Compare functor. More...
 
struct  zypp::CompareByEQ< _Tp, _Compare >
 
struct  zypp::CompareByNE< _Tp, _Compare >
 
struct  zypp::CompareByLT< _Tp, _Compare >
 
struct  zypp::CompareByLE< _Tp, _Compare >
 
struct  zypp::CompareByGT< _Tp, _Compare >
 
struct  zypp::CompareByGE< _Tp, _Compare >
 
struct  zypp::CompareByANY< _Tp, _Compare >
 
struct  zypp::CompareByNONE< _Tp, _Compare >
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 

Functions

template<class _Tp , class _Compare >
bool zypp::compareByRel (Rel op, const _Tp &lhs, const _Tp &rhs, _Compare compare)
 Comparison of two elements using relational operator op. More...
 
template<class _Tp >
bool zypp::compareByRel (Rel op, const _Tp &lhs, const _Tp &rhs)
 compareByRel convenience using Compare<_Tp> as general compare functor. More...